{% extends "rest_framework/api_basics.html" %} {% block description %}
Lists of objects that are returned by the API are always paginated. API methods which support pagination accept a page parameter and a page_size parameter. If not specified, the first page is returned and the page size is set to 50. The maximum allowed page size is 10,000.
The paginated JSON metadata includes information for navigating between the pages. This includes:
Example:
{
"error": null,
"result": [
{...},
{...},
{...},
...
],
"metadata": {
"page": 1,
"pages_total": 4,
"page_size": 50,
"number_of_objects": 189,
"next": "https://infinimetrics/api/rest/systems/1007/annotations/?page=2",
"previous": null
"ready": true,
}
}
Next: Filtering »
{% endblock %}