Warning
For security reasons, the document is displayed in restricted mode as it is not the current version. There may be differences and errors due to this.
communication_manager/rest/config/server/coreServers
{
"id": "0a576628-502c-491a-9d49-670bbb79cfee",
"slug": "default",
"name": "default"
}
| | |
---|
| | The id of the core server. |
| | The slug (core server configuration directory name) of the core server. |
| | The display name of the core server. |
communication_manager/rest/config/server/coreServers |
---|
| Accesses all the core server instances in the system. |
| Gets all the core server instances in the system. |
| Adds a core server to the configuration. Errors: - 409 'A core server with the given id already exists.': Returned if an core server with the given id already exists.
- 409 'A core server with the given slug already exists.': Returned if an core server with the given slug already exists.
- 409 'No name provided.': Returned if no name was provided.
- 409 'No slug provided.': Returned if no slug was provided.
|
|
communication_manager/rest/config/server/coreServers/{id} |
---|
| Accesses the configuration of a specific core server instance. Parameters: - id: The configuration id of the core server instance.
|
| Gets the configuration of the specified core server. Errors: - 404 'A core server with the given id does not exist': Returned if no core server exists with the given id.
|
| Updates the specified core server configuration. Errors: - 404 'A core server with the given id does not exist': Returned if no core server exists with the given id.
- 409 'No name provided.': Returned if no name was provided.
- 409 'No slug provided.': Returned if no slug was provided.
|
| Deletes the specified core server. Errors: - 404 'A core server with the given id does not exist': Returned if no core server exists with the given id.
|
communication_manager/rest/config/server/administrators/{id}/managedCoreServers |
---|
| Access the sub/child resource for the Core Server Instances that are are managed by the specified administrator. Parameters: - id: The configuration id of the administrator.
Errors: - 404 'An administrator with the given id does not exist': Returned if no administrator exists with the given id.
|
curl --user manager:manag3rpa55word -k -i -H "Accept: application/json" http://localhost:58080/communication_manager/rest/config/server/administrators
curl --user manager:manag3rpa55word -k -i -H "Accept: application/json" http://localhost:58080/communication_manager/rest/config/server/administrators/ee828da8-5ee6-413d-82ac-1273f598659d
curl --user manager:manag3rpa55word -k -i -H "Content-Type: application/json" -H "Accept: application/json" -X POST -d '{"id": "ee828da8-5ee6-412d-82ac-1273f598659d", "userName": "newAdmin", "password": "d36c07e12f98bea42b1cd80bca5b5ce4d6131c68", "superUser": true}' http://localhost:58080/communication_manager/rest/config/server/administrators
curl --user manager:manag3rpa55word -k -i -X DELETE http://localhost:58080/communication_manager/rest/config/server/administrators/ee828da8-5ee6-412d-82ac-1273f598659d
curl --user manager:manag3rpa55word -k -i -H "Content-Type: application/json" -H "Accept: application/json" -X PUT -d '{"id": "ee828da8-5ee6-412d-82ac-1273f598659d", "userName": "newAdmin", "password": "d36c07e12f98bea42b1cd80bca5b5ce4d6131c68", "superUser": false}' http://localhost:58080/communication_manager/rest/config/server/administrators/ee828da8-5ee6-412d-82ac-1273f598659d