Returns a filtered list of content items. The list will include the content item specified by the contentItemId parameter and any content items below it in the hierarchy. If the content item has no children, it will just return the content item itself. The results can be filtered further by using the search parameter to filter the content items by name or other indexed fields, or the id parameter to fetch content items (up to 50) with matching ids. The search and id are mutually exclusive.
The identifier of the content item used to filter query results. If the content item has no children, the results will include just the content item itself. Otherwise, the results will include the content items and any others below it in the content hierarchy.
- Production serverhttps://edge-platform.sitecorecloud.io/authoring/api/v1/content-items
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
curl -i -X GET \
'https://edge-platform.sitecorecloud.io/authoring/api/v1/content-items?environmentId=main&search=page&contentItemId=497f6eca-6276-4993-bfeb-53cbbbba6f08&language=en&pageSize=10&id=497f6eca-6276-4993-bfeb-53cbbbba6f08' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'x-sc-continuation: MXx8fDEwMA=='Successful operation. Returns an empty result set if no content items match the query.
{ "count": 10, "next": "token-from-previous-response", "results": [ { … } ] }