Configuration API
Get connection
Retrieves the configuration of one specific connection
GET/rest/configuration/connections/type/name
Body none
| Query parameters | none |
| Header | auth-token: token from authentication |
| Header/Parameter | tenant |
| Returns | Json representation of the connection configuration |
| Required role | MWP_ADMIN |
Example request
curl -H "auth-token:4dbd0d4f-9f44-41ab-ba68-3a51f7fd834a.local" -H "tenant:default" -X GET http://localhost:8080/mwp/rest/configuration/connections/ftp/conn1
Example response
{
"username" : "user",
"password" : "password",
"name" : "conn1",
"server" : "test.server.com",
"port" : "21",
"passive" : "true"
}