Fetch the first page
This example queries the first five parts with thefirst parameter and fetches the endCursor in the pageInfo object:
pageInfo object:
first, ION queries have the pagination parameters last, before, and after.
Fetch the next page
To fetch the next page, pass theendCursor from the previous query to the after parameter:
hasNextPage to determine whether more results remain after each query.