Hi ,
Currently I've found the following queries to display Tags in vSphere system:
REST API - list
GET https://{server}/rest/com/vmware/cis/tagging/tag
And we will get list of tag vsphere ids and then , to get more detailed info about each tag i have to put each Tag id into the next query. e.g.
GET https://{server}/rest/com/vmware/cis/tagging/tag/id:{tag_id}
which will show us:
{
"value": {
"category_id": "obj-103",
"description": "string",
"id": "obj-103",
"name": "string",
"used_by": [
"string",
"string"
]
}
}
The same situation is with Tag Categories.
My question is:
Is there some unique query to get all the Tag (and Category) values at a time? In my case mentioned above multiple queries for each Tag will cause performance issue.
Many thanks!