Sitecore API catalog/Querying API//
- Retrieve entities using a search query
Retrieve entities using a query string
Retrieve entities using a scroll-based query
Retrieve entities using a...
Lists all entities that match the criteria. This endpoint supports sorted pagination using the search-after property.
Note
For additional information, see the SearchAfter API (V3) developer documentation, including information about supported query operators, filters and supported operators, as well as SearchAfter examples.
Security
OAuth2.0
Request for executing queries with pagination.
filterQueryNodeFilter (object) or AncestorIdQueryNodeFilter (object) or CreatedByQueryNodeFilter (object) or DefinitionIdQueryNodeFilter (object) or DefinitionNameQueryNodeFilter (object) or FullTextQueryNodeFilter (object) or IdentifierQueryNodeFilter (object) or IdInQueryNodeFilter (object) or LockedByQueryNodeFilter (object) or LockedQueryNodeFilter (object) or LogicalQueryNodeFilter (object)required
One of:
- QueryNodeFilter
- AncestorIdQueryNodeFilter
- CreatedByQueryNodeFilter
- DefinitionIdQueryNodeFilter
- DefinitionNameQueryNodeFilter
- FullTextQueryNodeFilter
- IdentifierQueryNodeFilter
- IdInQueryNodeFilter
- LockedByQueryNodeFilter
- LockedQueryNodeFilter
- LogicalQueryNodeFilter
Base query filter for entities.
- https://your-serverhttps://your-server/api/entities/searchAfter
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
https://your-server/api/entities/searchAfter \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-H 'X-ApiVersion: 3' \
-d '{
"filter": {
"type": "Negating"
},
"sorting": [
{
"field_type": "Property",
"field": "string",
"culture": "string",
"order": "Desc"
}
],
"search_after": [
"string"
],
"take": 0,
"load_configuration": {
"culture_option": {
"load_option": "None",
"cultures": [
"string"
]
},
"property_option": {
"load_option": "None",
"properties": [
"string"
]
},
"relation_option": {
"load_option": "None",
"relations": [
{
"name": "string",
"role": "Parent"
}
],
"max_related_items": 0
}
}
}'Successful operation
The last returned hits, which are used to fetch the next page of results.
Response
{ "last_hit_data": [ "string" ], "items": [ { … } ], "total_items": 0, "returned_items": 0, "offset": 0, "next": { "href": "string", "filename_properties": [ … ], "title": "string", "templated": false }, "previous": { "href": "string", "filename_properties": [ … ], "title": "string", "templated": false }, "identifier": "string", "self": { "href": "string", "filename_properties": [ … ], "title": "string", "templated": false }, "property1": null, "property2": null }