Path: / {BASE} / logging / modules / {id}

Get the configuration of the logging module with the given id, using the JSON format described in the header of this class.

Path parameters:
id - unique logging module identifier

Method Summary
ResourceDescription
GET /{BASE}/logging/modules/{id}Get the configuration of the logging module with the given id, using the JSON format described in the header of this class.
POST /{BASE}/logging/modules/{id}Update the module with the given id, using the JSON description sent in the body of the request.

Method Detail
HTTP Example:
GET /{BASE}/logging/modules/{id}

API Example:

LoggingWebService.getModule({'id': /* id unique logging module identifier */});

Get the configuration of the logging module with the given id, using the JSON format described in the header of this class.

Output:
javax.ws.rs.core.Response - HTTP status 200 in case of success
Produces:
application/json
HTTP return codes:
200 - module found
404 - module not found
HTTP Example:
POST /{BASE}/logging/modules/{id}

API Example:

LoggingWebService.updateModule({'id': /* id unique logging module identifier */});

Update the module with the given id, using the JSON description sent in the body of the request. Only the fields "level" and "appenders" can be updated for modules.

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