GET /api/topology/groups/id

Description

Get a group id.


Resource URL

https://localhost:8090/api/topology/hosts/id?groupName=Group1


Parameters

groupName mandatory The name of the group.

Response Codes

Response Code Description
200 Success. The response body contains the group name.
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/hosts/id?groupName=Group1

HTTP 1.1 200 OK

{
    "result": "group-2"
}