Skip to main content

Topology Tags & Values

API calls for all available tags and distinct values present in topology items

NameDescriptionShortcut
GET: List topology tagsList available tags and distinct values present in topology items.Description

[GET]: List topology tags

This method may be used to retrieve available topology tags and their distinct values available

Input

List All topology tag values
/topology/tags?[date]

Url Parameters

TypeDescriptionRequiredDefault value
datetarget a specific dataNOtoday's date

Headers

x-api-key: secret_key_value
Accept: application/json

Response Code

Status: 200 OK

Response body

{
"status": {
"message": "application/json",
"code": "200"
},
"data": [
{
"name": "endpoints",
"values": [
{
"name": "tag1",
"values": ["value1", "value2", "value3"]
},
{
"name": "tag2",
"values": ["value1", "value2"]
}
]
},
{
"name": "groups",
"values": [
{
"name": "tag3",
"values": ["value1", "value2", "value3"]
},
{
"name": "tag4",
"values": ["value1"]
}
]
}
]
}
Example Request:

URL:

/topology/tags?date=2016-01-01

Headers:

x-api-key: secret_key_value
Accept: application/json
Example Response:

Code:

Status: 200 OK

Response body:

{
"status": {
"message": "Success",
"code": "200"
},
"data": [
{
"name": "endpoints",
"values": [
{
"name": "scope",
"values": [
"GROUPB",
"GROUPA",
"GROUPE",
"GROUPD",
"GROUPC"
]
},
{
"name": "production",
"values": [
"0",
"1"
]
},
{
"name": "monitored",
"values": [
"0",
"1"
]
}
]
},
{
"name": "groups",
"values": [
{
"name": "certification",
"values": [
"Certified",
"Uncertified"
]
},
{
"name": "infrastructure",
"values": [
"production",
"devel",
"devtest"
]
}
]
}
]
}