REST API Pagination

When you get a collection in a response, like with getting a list of files, it is paginated. That is, items in the collection are returned in batches. Every returned batch object has the following structure,

Property

Type

Value

next

string

Next page URL.

previous

string

Previous page URL.

total

number

A total number of objects of the queried type. For files, the queried type depends on the stored and removed query parameters, see this section.

per_page

number

Number of objects per page.

results

array

List of paginated objects. See the documentation for specific object structure, e.g., files or groups.

Questions?

We’re always happy to help with code, integration, and other stuff.
Search our site for more info or post your question in our Community Area.