aseemr
By:
aseemr

Max Allowed records in an API request

September 10, 2017 217 views
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.

1 Answer
Have another answer? Share your knowledge.