GET /api/management/servicename

Description

Get the service name of the API Server or Node Manager. This is the name used to identify the process within the domain topology.

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/servicename for an API Server instance, and https://localhost:8090/api/router/service/nodemanager-1/api/management/servicename for a Node Manager. It is possible to invoke the method directly on the Admin Node Manager i.e. https://localhost:8090/api/management/servicename.


Resource URL

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


Parameters


Response Codes

Response Code Description
200 Success. The response body contains a service name.

Example Request and Response

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

HTTP 1.1 200 OK

{
    "result": "APIServer1"
}