ClickHelp User Manual
[API] Get Child TOC Nodes
Returns a list of children nodes of a TOC node.
GET projects/{project-id}/toc/nodes/{toc-node-id}/children?isRecursive={is-recursive}
Authentication
This request requires basic authentication.
Request Parameters
Path params
project-id | string |
The ID of the project to get children of a node from. |
---|---|---|
toc-node-id | string |
The ID of the TOC node to get child nodes of. |
Query params
isRecursive | bool |
[optional] Whether or not to get information about all child nodes as well. false by default. |
---|
Samples
Request sample
Bash (Unix Shell) |
curl --location -g --request GET 'https://{portal-url}/api/v1/projects/project-deep-space-exploration/toc/nodes/0e7adad0-2572-4966-8f02-bc46930cf848/children?isRecursive=true' |
Response body sample
JSON |
[ |
Response fields
caption |
Custom TOC node caption as set in the topic properties. Empty if the topic title is used.
|
---|---|
id | The unique identifier of the TOC node. |
isAutoDocsMountPoint | Whether this node is a mount point of an API definition. |
isShowInToc
|
Whether the node is shown in the TOC in publications. Sets the corresponding option in the topic's properties. |
ordinalNo
|
The number indicating the position of the node in the TOC.
|
parentId
|
The unique identifier of the parent TOC node. null if the node is on the root level.
|
topicId
|
The unique identifier of the topic associated with the TOC node.
|