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,
Next page URL.
Previous page URL.
A total number of objects of the queried type.
For files, the queried type depends on the stored
Number of objects per page.