All paginated responses will append the following pagination section to the response like so:{
"count": 1,
"next": null,
"previous": null,
"results": [
...
]
}
Certain routes may return an array of results.
By default, the API will return the results in batch. The count parameter may be used to increase the number of results per request.To get the next batch of results, call the same route again with a page request parameter corresponding to the next and previous property received in the response. For instance, if you want to move to the next pagse in the List Orders endpoint, simply execute the following cURL request:curl --request GET \
--url 'https://api.techrar.com/inventory/v1/items?page=2' \
--header 'Accept: application/json' \
--header 'Authorization: <YOUR_ACCESS_TOKEN>'
Additionally, you may also include the page_size query parameter in any list endpoint to decrease or increase the number of records returned per page.The default and maximum values for the page_size query parameter is 200 and 10000 respectively.