Query tags

get

/serviceapi/entityModel/uds/tags

Query all tags according to the given key and value.

Request

Supported Media Types
Query Parameters
Back to Top

Response

Supported Media Types

200 Response

successful operation
Body ()
Root Schema : ItemListUdsTag
Type: object
Show Source
Nested Schema : items
Type: array
The items
Show Source
  • UdsTag

    Describes a tag. Tags are used to identify and query entities. Tags are managed using key/value pairs.

Nested Schema : UdsTag
Type: object

Describes a tag. Tags are used to identify and query entities. Tags are managed using key/value pairs.

Show Source
Back to Top

Examples

Get all Tags for key=loc:

curl -u ${OMC_USERNAME}:${PASSWORD} -X GET "https://serverurl/serviceapi/entityModel/uds/tags?key=loc"

The output looks like:

{
  "count": 3,
  "items": [
    {
      "key": "loc",
      "value": "bos"
    },
    {
      "key": "loc",
      "value": "sfo"
    },
    {
      "key": "loc",
      "value": "nyc"
    }
  ]
}
Back to Top