Question

Max Allowed records in an API request

  • Posted September 10, 2017
  • API

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.

Subscribe
Share

Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

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.

Accepted Answer