Retrieve All Objects

Retrieving all objects.

To retrieve all the objects, use a GET request and specify the collection name.

https://api.appery.io/rest/1/db/collections/<collectionName>

The response body is a JSON object containing all the user-provided fields, plus the _createdAt, _updatedAt, and _id fields.

Example

curl -X GET -H "X-Appery-Database-Id: 544a5cdfe4b03d005b6233b9"
https://api.appery.io/rest/1/db/collections/students
[
    {
        "_id":"5278caf6e4b01085e4b79457",
        "_createdAt":"2013-11-05 10:39:50.456",
        "_updatedAt":"2014-08-26 09:50:03.015",
        "marks":[
            8.0,
            8.0,
            5.0
        ],
        "studentId":10.0,
        "studentName":"Donna"
    },
    //...all the objects
    {
        "_id":"5278cb0ae4b01085e4b7945f",
        "_createdAt":"2013-11-05 10:40:10.400",
        "_updatedAt":"2014-08-26 09:50:03.015",
        "marks":[
            7.0,
            6.0,
            5.0
        ],
        "studentId":100.0,
        "studentName":"Dina"
    }
]