Path: / {BASE} / logging / appenders

Get a JSON list of all log appenders currently configured in the system using the JSON format described in the header of the class


Resources
NameDescription
{id}Get the configuration of the log appender with the given ID using the JSON format described in the header of the class

Method Summary
ResourceDescription
GET /{BASE}/logging/appendersGet a JSON list of all log appenders currently configured in the system using the JSON format described in the header of the class
POST /{BASE}/logging/appendersUpdate all log appenders passed in the JSON list given in the body of the POST service request.

Method Detail
HTTP Example:
GET /{BASE}/logging/appenders

API Example:

LoggingWebService.listAppenders({});

Get a JSON list of all log appenders currently configured in the system using the JSON format described in the header of the class

Output:
javax.ws.rs.core.Response - JSON list
Produces:
application/json
HTTP Example:
POST /{BASE}/logging/appenders

API Example:

LoggingWebService.updateAppenders({});

Update all log appenders passed in the JSON list given in the body of the POST service request.

Output:
javax.ws.rs.core.Response - HTTP status 200 in case of success
Consumes:
application/json
HTTP return codes:
200 - appenders updated successfully
400 - appender configuration invalid (e.g. not proper JSON)