All endpoints that return large result sets will support pagination. The pageSize and pageNumber parameters will be used for these endpoints. For example, if you want the next batch of items the url would look like this: https://fetch.yellowdogsoftware.com/api/v3/items?pageNumber=2&pageSize=100 If the endpoint supports pagination the response header will contain the X-Pagination key. The value of this key will be json which will include the next page link ( nextPageLink ). If there aren't anymore pages left the nextPageLink value will be empty.
{
"pageSize": 100,
"currentPage": 1,
"currentPageElements": 100,
"nextPageLink": "https://fetch.yellowdogsoftware.com/api/v3/dimensions?pageNumber=2&pageSize=100"
}{
"pageSize": 100,
"currentPage": 6,
"currentPageElements": 3,
"nextPageLink": ""
}- When specified,
pageSizemust be greater than zero with a maximum value of500. - When not specified,
pageSizewill default to100 - When specified,
pageNumbermust be an integer greater than zero. - If
pageNumberis larger than the number of pages available, the response will be empty. - When not specified,
pageNumberwill default to1.