Path: / {BASE} / config / list

Retrieve all entries in the system configuration as key-value pairs.


Method Summary
ResourceDescription
GET /{BASE}/config/list?prefix=…Retrieve all entries in the system configuration as key-value pairs.
POST /{BASE}/config/liststores a list of configuration

Method Detail
HTTP Example:
GET /{BASE}/config/list?prefix=…

API Example:

ConfigurationWebService.listConfiguration({'prefix': /* Retrieve all entries in the system configuration as key-value pairs. */});

Retrieve all entries in the system configuration as key-value pairs.

Output:
Map<String,Map<String,Object>> - a map mapping all configuration keys to the respective string or list values
Query parameters:
prefix
Produces:
application/json
HTTP return codes:
200 - when the list of settings is retrieved successfully
HTTP Example:
POST /{BASE}/config/list

API Example:

ConfigurationWebService.setListConfiguration({});

stores a list of configuration

Output:
javax.ws.rs.core.Response - HTTP 200 or 400
Produces:
application/json
HTTP return codes:
200 - if the configuration was set
400 - if the input sent in the body could not be parsed