Pagination
Some resources return collections of data and hence support pagination to chunk these results as they are returned. These results follow a standard approach.
For pagination-enabled endpoints, collections will be returned within a data
property. This is a JSON array of results that can be iterated through. A meta
property holds pagination information such as nextPageUrl
, previousPageUrl
, and limit
.
Parameters
limit
number
Maximum number of results to return between 1
& 100
. Defaults to 50
pageToken
string
Token for the page to retrieve. Available on requests with multiple pages of results. Starts with ey...
Response
data
array
Collection of results which varies depending on the resource
meta
object
Pagination related details
meta.limit
string
Number of results requested
meta.nextPageUrl
string (or null)
URL to the next page of results or null
if there is no next page
meta.previousPageUrl
string (or null)
URL to the previous page of results or null
if there is no previous page
meta.url
string (or null)
URL to the current page of results.
Last updated