Entity: entity groups
Description
Retrieves a list of entity groups to which the specified entity belongs.
Request
Method | Path |
---|---|
GET | /api/v1/entities/{entity}/groups |
Path Parameters
Name | Type | Description |
---|---|---|
entity | string | Entity name. |
Response
An array of objects containing the following fields describing an entity group.
Fields
Name | Type | Description |
---|---|---|
name | string | Entity group name. |
tags | object | Entity group tags. |
Example
Request
URI
GET /api/v1/entities/nurswgvml007/groups
Payload
None.
curl
curl https://atsd_hostname:8443/api/v1/entities/nurswgvml007/groups \
-k --user {username}:{password}
Response
[
{
"name": "VMware VMs",
"tags": {}
},
{
"name": "environment-prod",
"tags": {
"tag1": "v1"
}
},
{
"name": "nmon-linux",
"tags": {}
},
{
"name": "nur-entities-name",
"tags": {}
}
{
"name": "nurswg-dc1",
"tags": {}
},
{
"name": "scollector-linux",
"tags": {}
},
{
"name": "scollector-nur",
"tags": {}
},
{
"name": "scollector-uptime",
"tags": {}
},
{
"name": "solarwind-vmware-vm",
"tags": {}
},
{
"name": "tcollector - linux",
"tags": {}
}
]