Path: / {BASE} / logging / modules

List all modules currently available in the system as a JSON list using the JSON format described in the header of this class


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

Method Summary
ResourceDescription
GET /{BASE}/logging/modulesList all modules currently available in the system as a JSON list using the JSON format described in the header of this class
POST /{BASE}/logging/modulesUpdate all modules passed as JSON list argument to the POST body of the service call.

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

API Example:

LoggingWebService.listModules({});

List all modules currently available in the system as a JSON list using the JSON format described in the header of this class

Output:
javax.ws.rs.core.Response - JSON list of module descriptions
Produces:
application/json
HTTP return codes:
200 - in case the modules are listed properly
HTTP Example:
POST /{BASE}/logging/modules

API Example:

LoggingWebService.updateModules({});

Update all modules passed as JSON list argument to the POST body of the service call. Only the fields "level" and "appenders" can be updated for modules.

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