GET /hub/v1/nestedtags
Returns an array of tags owned by the requesting client.
Name | Type | Description | |
---|---|---|---|
depth | number | The number of nesting levels to retrieve. The default depth is 0. |
Status | Name | Type | Description |
---|---|---|---|
200 | Response includes an array of tags owned by the client, including each tag’s properties and 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 collection of all root tags but none of their nested tags.
This example gets a collection of all tags and includes their nested tags one level deep.