GET /api/management/domainid

Description

Get the domain id of the domain that the API Server or Node Manager is running in. All API Servers and Node Managers in the same domain must have the same domain id value. The domain id is assigned when the Admin Node Manager is registered.

The Management API resides in the API Servers, therefore this method must be invoked via the Routing API in the Admin Node Manager, e.g. https://localhost:8090/api/router/service/instance-1/api/management/domainid for an API Server instance, and https://localhost:8090/api/router/service/nodemanager-1/api/management/domainid for a Node Manager. It is possible to invoke the method directly on the Admin Node Manager i.e. https://localhost:8090/api/management/domainid.


Resource URL

https://localhost:8090/api/management/domainid
https://localhost:8090/api/router/service/{serviceID}/api/management/domainid


Parameters


Response Codes

Response Code Description
200 Success. The response body contains a domain id.

Example Request and Response

GET https://localhost:8090/api/router/service/instance-1/api/management/domainid

HTTP 1.1 200 OK

{
    "result": "60bc5e69-d96b-41ec-8d40-72d9b66822ae"
}