Common Guides
Pagination
StackOne’s allows paginating on API requests that return multiple records using a page cursor.
The following optional URL parameters are used for pagination:
The number of records per page.
The next
parameter is used to iterate through data pages.
It is recommended to keep the same page_size throughout the sequence of pagination requests otherwise unexpected behaviour may occur.
Sample URL
Sample Response
In the response payload, you can find the next
cursor. To get the next page of data send a new request with the next
parameter set to this value.
Once the cursor reaches the end of the data list, both values become NULL.
For further information see Guides - Pagination
Was this page helpful?