Paginated results
Many list endpoints have paginated results. Endpoints return up to 1000 results in one
page. If there are more than 1000 results, the next
property will contain the URL to
the next result set.
Returned data contains keys:
count
Amount of results found.
num_pages
Number of result pages.
next
URL to the next result page.
previous
URL to the previous result page.
results
Array of result objects.
Example results from
https://provetcloud.com/4/api/0.1/client/?firstname=Brett
(result objects clipped for this example):
{
"count": 2,
"num_pages": 1,
"next": null,
"previous": null,
"results": [
{
"id": 3,
"url": "https://provetcloud.com/4/api/0.1/client/3/",
"title": "Dr.",
"firstname": "Brett",
"lastname": "Briggs"
},
{
"id": 345,
"url": "https://provetcloud.com/4/api/0.1/client/345/",
"title": "Mr.",
"firstname": "Brett",
"lastname": "McCarthy"
}
]
}