Configuration API
Get all Configuration Models
It retrieves all the extension configuration models.
GET/rest/extensions/configuration/model
Query parameters |
|
Header | auth-token: token from authentication |
Header/Parameter | tenant |
Body | None |
Returns | array[ExtensionConfiguration]. See also Configuration (see "Model" section) |
Required role | MWP_ADMIN |
Managed errors | 401: insufficient privileges |
Example request
curl 'http://localhost:8080/mwp/rest/extensions/configuration/model' -H 'auth-token: 7f91498c-036f-4500-b4e1-94ec43a85713' -H 'tenant:default'
Example response
[ { "descriptor":{ "id":"document", "name":"Match Document Extension", "provider":"Knowledge Values", "version":0, "type":"consultationExtension" }, "configuration":{ "name":"documentConf", "version":1, "disabled":false, "applicationConfigurationItem":[ { "name":"pageMargins", "explanation":"Configuration items related to the page margins", "subOptions":[ { "name":"HtmlWidth", "defaultValue":"0", "explanation":"", "value":"0", "mandatory":true }, { "name":"MarginBottom", "defaultValue":"0", "explanation":"", "value":"0", "mandatory":true }, { "name":"MarginLeft", "defaultValue":"0", "explanation":"", "value":"0", "mandatory":true }, { "name":"MarginRight", "defaultValue":"0", "explanation":"", "value":"0", "mandatory":true }, { "name":"MarginTop", "defaultValue":"0", "explanation":"", "value":"0", "mandatory":true } ] } ], "serverConfigurationItem":[ ] } } ]