Retrieve content item hierarchy children

Request

Fetches a page of direct child items for a hierarchy node. Designed for user interfaces that display hierarchical content, such as tree pickers (controls that let users browse and select items by expanding and collapsing nodes), this endpoint lets you incrementally load large or deep hierarchies as users navigate them rather than retrieving the entire hierarchy in a single request.

Security
Bearer
Path
idstringrequired

The identifier of the hierarchy node (parent) whose children should be retrieved.

Example:3875AC96-8ECF-44AE-8E25-851068B373CE
Query
environmentIdstring

The environment identifier. Defaults to "main". Currently only "main" is supported.

Example:environmentId=main
languagestring

The language code of the parent item for retrieving child item metadata. Defaults to "en".

Example:language=en
limitinteger, (int32)

The maximum number of children to return in a single page. Defaults to 50 when omitted.

Example:limit=50
Headers
x-sc-continuationstring

An optional opaque continuation token, returned from a previous call, used to fetch the next page of children.

Example:MXx8fDUw
curl -i -X GET \
  'https://edge-platform.sitecorecloud.io/authoring/api/v1/content-items/3875AC96-8ECF-44AE-8E25-851068B373CE/hierarchy/children?environmentId=main&language=en&limit=50' \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
  -H 'x-sc-continuation: MXx8fDUw'

Responses

Successful operation

Bodyapplication/json
itemsArray of objects or null(HierarchyChildItem)

The children found on this page.

continuationTokenstring or null

An opaque continuation token used to fetch the next page of children. Null when there are no additional pages remaining.

Example:"MXx8fDUw"
Response
{ "items": [ { … } ], "continuationToken": "MXx8fDUw" }