Configuration API
Get extension configuration
It retrieves the configuration of a specific extension
GET/rest/extensions/configuration/extensionId
| Query parameters | application: (optional, default="server") id of the application |
| Header | auth-token: token from authentication |
| Header/Parameter | tenant |
| Body | None |
| Returns | Configuration |
| Required role | MWP_ADMIN |
| Managed errors | 401: insufficient privileges |
Example request
curl 'http://localhost:8080/mwp/rest/extensions/configuration/dashboard' -H 'auth-token:c60956a3-800c-4e26-b8b0-fe08cd163efa.local'
Example response
{
"name":"Dashboard Extension",
"version":7,
"disabled":false,
"serverConfigurationItem":[
{
"name":"Prefix",
"defaultValue":"",
"explanation":"Prefix to access different schema",
"value":"",
"type":"NORMAL",
"mandatory":false
},
{
"name":"Database name",
"explanation":"Name of the database",
"value":"match_dashboard",
"type":"NORMAL",
"mandatory":true
}
]
}