Pagination
Pagination
To make API responses more compact, lists returned by the API are paginated. For lists, the response body includes:
limit
: the number of list items return per responseoffset
: the number of elements to skip (starting from 0)total
: the number of all available list itemsresults
: the array of list items (length of array equals the set limit)
Here is a sample response:
Using the limit
and offset
properties, you can paginate through the entire list by increasing the offset by the limit until you reach the total.
Last updated on