Change total limit for droplet/images response

Posted July 2, 2014 2.7k views

When retrieving listing of all images, I can see it returns only total: 39 objects by default.

I’ve tried changing the total key using query strings like &meta[total]=100, &total=100, &limit=100 none of them worked.

How can I change the total limit? I don’t want to navigate changing page value.

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Submit an Answer
1 answer

Thanks for checking out the new API! Sounds like you’re looking for ?per_page= This is documented under the “Links” section.

If you have more feedback on the API, feel free to open an issue on the GitHub page.