GET /hub/v1/nestedtags/{tagId}
Returns the tag associated with the specified tagId.
Name | Type | Description | |
---|---|---|---|
depth | number | The number of nesting levels to retrieve. The default depth is 0. |
Status | Name | Type | Description |
---|---|---|---|
200 | Response includes the specified tag and all of its properties, including nested tags at the level specified by the depth parameter. | ||
id | integer | TagId of the tag. | |
name | string | Name of the tag. | |
description | string | Description of the tag. | |
parentId | string | TagId of the parent tag. This field is null or zero if no parent tag exists. | |
tags | object | A list of the tag’s nested tags. Add and modify nested tags using the Update Nested Tags or Patch Nested Tags requests. |
This example gets a tag by ID.
This example gets a tag by ID and includes its nested tags one level deep.