Path: / {BASE} / config / list

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


Resource Methods
Method Summary
NameDescription
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

GET /{BASE}/config/list

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

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

ConfigurationWebService.listConfiguration({'prefix': /* 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

POST /{BASE}/config/list

stores a list of configuration

HTTP Example:
POST /{BASE}/config/list
API Example:

ConfigurationWebService.setListConfiguration({});

Output:
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