Limit

Pagination.

To limit the number of objects you get, use the limit parameter. The following query will return the first 5 objects:

📘

Note

Max value for limit parameter is 1500. The value is Integer (Number JavaScript).

Examples

curl -X GET
  -H "X-Appery-Database-Id: 526fdbd8e4b07c3286b537f1" 
  -d 'limit=5' 
  https://api.appery.io/1/db/collections/students
In addition to specifying how many objects to return, you can also specify from which object count to start with the skip parameter. The following example will start at object 6 (skip the first 5) and return (limit) 5 objects.
curl -X GET
  -H "X-Appery-Database-Id: 544a5cdfe4b03d005b6233b9" 
  -d 'limit=5' 
  -d 'skip=5' 
  https://api.appery.io/1/db/collections/students