Pagination

Pagination

All Resource lists that are returned by our API are always paginated.

Paginated API response

For example when fetching all applications, the response will include pagination in the form of:

{
  "applications": [
    ...
  ],
  "meta": {
    "pagination": {
      "per_page": 10,
      "current_page": 1,
      "total_pages": 2,
      "total_objects": 18,
      "pages": {
        "first": 1,
        "last": 2,
        "next": 2
      },
      "links": {
        "first": "/v1/applications?page=1",
        "last": "/v1/applications?page=2",
        "next": "/v1/applications?page=2"
      }
    }
  }
}

The default page size is 10 and can be adjusted by passing the per_page query parameter. This parameter accepts a value between 10 and 100.