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,

PropertyTypeValue
nextstringNext page URL.
previousstringPrevious page URL.
totalnumberA 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_pagenumberNumber of objects per page.
resultsarrayList of paginated objects. See the documentation for specific object structure, e.g., files or groups.

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.