GET /api/topology/services/{groupID}
Description
Get all services in a group.
Resource URL
https://localhost:8090/api/topology/services/{groupID}
Parameters
groupID | mandatory | The id of the group. |
Response Codes
Response Code | Description |
---|---|
200 | Success. The response body contains a list of services in the group. Refer to Javadoc for com.vordel.api.topology.model.Service . |
404 | The response contains an error indicating that the group does not exist in the topology. |
Example Request and Response
GET https://localhost:8090/api/topology/services/group-2
HTTP 1.1 200 OK
{
"result": [
{
"id": "instance-1",
"name": "APIServer1",
"type": "gateway",
"scheme": "https",
"hostID": "host-1",
"managementPort": 8888,
"tags": {},
"enabled": true
}
]
}