Pagination and Sorting
All GET
requests that return a list can be paginated and sorted.
Name | Definition |
---|---|
page | The current page for offseting the returned list |
limit | Maximum number of items to return per request. Maximum value is 1000 |
sort | Order in which to return the list. Either ascending(ASC ) or descending(DESC ) |
Sorting only applies to
createdAt
dateExample Request
The above request would result in something similar to:
Meta
Name | Definition |
---|---|
previousPage | The previous page offset |
currentPage | The current page offset |
nextPage | The next page offset |
limit | The return limit set on this request |
currentCount | Total number of results returned with this request |
totalCount | Total number of returnable results |
sort | Order in which the list was returned |