GET /api/topology/services/id/{groupID}
Description
Get a service id.
Resource URL
https://localhost:8090/api/topology/services/id/{groupID}?serviceName=myservice
Parameters
| groupID | mandatory | The id of the group that the service resides in. |
| serviceName | mandatory | The name of the service. |
Response Codes
| Response Code | Description |
|---|---|
| 200 | Success. The response body contains the service name. |
| 404 | The response contains an error indicating that the service or group does not exist in the topology. |
Example Request and Response
GET https://localhost:8090/api/topology/services/id/group-2?serviceName=APIServer1
HTTP 1.1 200 OK
{
"result": "instance-1"
}