The API methods for listing resources are limited in terms of the number of results which can be retrieved in a single call.
When the number of resources that match the criteria is greater than the
max_result value (10 resources by default), the results are divided into a number of pages, and only the first page of results is returned together with a
next_cursor value which points to the next page of results.
Below is an example of how to use the pagination capabilities (Rails) to list all the resources in your account. Please note that we've set the
max_results to the maximum (500) items to be returned in a single API call:
res = Cloudinary::Api.resources(:max_results => 500)
while res.has_key?("next_cursor") do res = Cloudinary::Api.resources(:max_results => 500,
:next_cursor => res["next_cursor"])