Pagination
Requesting Pages
To navigate through paginated data, use the page
query parameter:
GET /api/v4/transports/?page=2
If the page
parameter is not specified, the API will return the first page (?page=1
by default).
If your integration processes large datasets, make sure to iterate over pages using the next
URL until it returns null
.
Response Format
Paginated responses follow a consistent schema:
The maximum number of items per page varies depending on the endpoint (usually 20 or 100).
{
"count": 100,
"next": "https://api.dashdoc.com/api/v4/transports/?page=3",
"previous": "https://api.dashdoc.com/api/v4/transports/?page=1",
"results": [
...
]
}
Fields
count
: Total number of items matching your request, across all pages.next
: URL to retrieve the next page of results (ornull
if you are on the last page).previous
: URL to retrieve the previous page of results (ornull
if you are on the first page).results
: The list of objects contained in the current page.
Last updated
Was this helpful?