Manage Connection API
ConnectALL extends its Manage Connections feature by exposing it as a ReST resource to consume and manage your application endpoints externally. You can consume these resources to update the password automatically when it's renewed based on the expiration policies. Additionally, you can perform CRUD operations on managed connections using this API. The resources are currently backed by "Basic authentication" so it's strongly advisable to back the Tomcat with an SSL certificate.
ReST API for 'Manage Connections' feature is currently limited only to "CA-ADMIN" users.
Query managed connections
Method | GET |
---|---|
Resource | rest/api/connections |
Query Param | appType - application type |
Request |
CODE
|
Response | Password is always masked in the GET requests
CODE
|
Example |
CODE
|
Create a new managed connection
METHOD | PUT |
---|---|
Resource | rest/api/connections |
Request Payload |
CODE
|
Response |
CODE
|
Example |
CODE
|
Updating a managed connection
Method | PUT |
---|---|
Resource | rest/api/connections/{connectionid} |
Request Payload |
CODE
|
Response |
CODE
|
Example |
CODE
|
Retrieve managed connections
Method | GET |
---|---|
Resource | rest/api/connections/{connectionid} |
Request payload |
CODE
|
Response | Password is always masked in the GET requests
CODE
|
Example |
CODE
|