pages
Search and paginate through pages
Authentication
Public Access: Accessible with the public API key
Query Structure
pages(
first: Int
after: String
last: Int
before: String
query: String
sortKey: PageSortKey
reverse: Boolean
): PageConnectionArguments
Return Type
Returns a PageConnection object containing a paginated list of pages.
Example
query {
pages(first: 10, query: "about", sortKey: TITLE, reverse: false) {
pageInfo {
hasNextPage
hasPreviousPage
startCursor
endCursor
}
edges {
cursor
node {
id
title
handle
body
createdAt
updatedAt
}
}
}
}