Pagination
Explains how pagination and query complexity limits work in the Umbraco Compose GraphQL API.
Connections
query($cursor: String) {
allContent(
first: 2
after: $cursor
) {
items {
id
}
pageInfo {
endCursor
hasNextPage
}
}
}{
"data": {
"allContent": {
"items": [{
"id": "abc"
}, {
"id": "abc123"
}],
"pageInfo": {
"endCursor": "eyAiaWQiOiAiYWJjMTIzIiwgInZhcmlhbnQiOiBudWxsLCAiX190eXBlU2NoZW1hQWxpYXMiOiAicGFnZSIgfQo=",
"hasNextPage": true
}
}
}
}Lists
Complexity Limits
Error Handling
Last updated
Was this helpful?