Navigation
Pagination
Some API resources support bulk fetching of records. For these APIs, they will accept at minimum the following two parameters: page
, and limit
Parameters
page
number
The current page number
limit
number
The number of items per page
Returns
data
array
An array containing the actual response elements, paginated by any request parameters.
page
number optional, default is 10
The current page number
limit
number
The number of items per page
total
number
The total number of items
The pagination object
{
"data": [
...
],
"page": 1,
"limit": 10,
"total": 1000,
}