GET /api/topology/services/{groupID}/{serviceID}

Description

Get a service with an id of serviceID in group with id of groupID from the topology.


Resource URL

https://localhost:8090/api/topology/services/{groupID}/{serviceID}


Parameters

groupID mandatory The id of the group that the service resides in.
serviceID mandatory The id of the service to return.

Response Codes

Response Code Description
200 Success. The response body contains the service. Refer to Javadoc for com.vordel.api.topology.model.Service.
404 The response contains an error indicating that the service or group does not exist in the topology.

Example Request and Response

https://localhost:8090/api/topology/services/group-2/instance-1

HTTP 1.1 200 OK

{
    "result": {
        "id": "instance-1",
        "name": "APIServer1",
        "type": "gateway",
        "scheme": "https",
        "hostID": "host-1",
        "managementPort": 8888,
        "tags": {},
        "enabled": true
    }
}