Question
Max Allowed records in an API request
What is the max allowed records in a request?
curl -X GET -H “Content-Type: application/json” -H “Authorization: Bearer b7d03a6947b217efb6f3ec3bd3504582” “https://api.digitalocean.com/v2/images?page=1&**per_page=1**”
Can I give this (per_page) value as 2000, so do not have to go through pagination? I appreciate that pagination is added to help conserve bandwidth and memory @calling party.
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.
×