per-page
to specify the number of items to return per page.
We also respond with a Link
header that contains URLs to the current, first, last, previous, and next pages.
Additionally, we include the total number of items, pages count and current page number in the response headers.
Query Parameters
page
- The page number to return. Default is 1.per-page
- The number of items to return per page. Default is 20.
Pagination Headers
Link
- Contains URLs to pages.X-Pagination-Total-Count
- The total number of items.X-Pagination-Page-Count
- The total number of pages.X-Pagination-Current-Page
- The current page number.X-Pagination-Per-Page
- The number of items per page.