Retrieving All Users

Retrieving all users.

You can retrieve multiple users at once by sending a GET request to the root user’s URL:

https://api.appery.io/rest/1/db/users

The returned JSON will include a list of all the users. You may also apply any of the queries options.

Example

curl -X GET 
   -H "X-Appery-Database-Id: 544a5cdfe4b03d005b6233b9" 
   -H "X-Appery-Session-Token: c6771e2f-44ae-42ea-9946-5fa320578233" 
   https://api.appery.io/rest/1/db/users
[
    {
        "_id":"54de4083e4b0cc014946181a",
        "username":"Bob",
        "_createdAt":"2015-02-13 18:20:51.591",
        "_updatedAt":"2015-02-13 18:20:51.593",
        "acl":{
            "*":{
                "read":true
            },
            "54de4083e4b0cc014946181a":{
                "read":true,
                "write":true
            }
        }
    },
   //...
    {
        "_id":"55883a0be4b0b40eb7839d18",
        "username":"John",
        "email":"[email protected]",
        "_createdAt":"2015-06-22 16:38:35.305",
        "_updatedAt":"2015-06-22 16:38:35.307",
        "acl":{
            "*":{
                "read":true
            },
            "55883a0be4b0b40eb7839d18":{
                "read":true,
                "write":true
            }
        }
    }
]