Pagination is necessary; you don’t want your API/website/app to default to returning everything from the database, occasionally though you might want to fetch the entire collection.
On the Costs to Expect API, we have added a collection
parameter, if set true
There are a couple of caveats, the API defaults the parameter to false
, and we only allow the parameter for collections which will know will be limited in size.