Endpoints which return collections (e.g. /projects, /orders) will return paginated results.

The following parameters can be passed for paginated objects:

ParameterMeaning
pagePage to return
page_sizeSize of page to return
{
	page: 1,
	page_size: 10
}

Here’s an example query string /api/v0.1/projects?page=1&page_size=10.

If an object is paginated, the results will be returned in the data object and pagination information will be returned in the info object:

{
  "data": [...],
  "info": {
    "items": 10,
    "page_size": 10,
    "total_items": 15,
    "current_page": 1,
    "next_page": 2,
    "previous_page": null,
    "total_pages": 1
  }
}
FieldMeaning
itemsNumber of items returned in the results
total_itemsTotal number of items across all pages
current_pageCurrent page of the request
next_pagePage number of next page of results
previous_pagePage number of previous page of results
total_pagesThe total number of pages of results