Pagination
Table of Contents
All end points that return multiple objects are paginated by default. All paginated end points accept pagination parameters and wrap responses in a paging object. Each page holds a maximum of 30 objects.
Object
Name | Type | Description |
---|---|---|
|
|
The total number of objects available across all the pages. |
|
|
The url to the next page or null if you are on the last page. |
|
|
The url to the previous page or null if you are on the first page. |
|
|
The returned objects. |
Parameters
Name | Type | Description |
---|---|---|
|
|
The page number to view. Defaults to the first page: 1. |
Example
$ curl https://api.example.com/some-objects HTTP/1.1 200 OK { "count": 322, "next": "https://api.example.com/some-objects?page=2", "prev": null, "results": [] }