Get ACL

Retrieve the ACL object.

To retrieve ACL object, send GET request to according URL:

https://api.appery.io/rest/1/db/files/<fileName>/acl

X-Appery-Master-Key header may be specified instead of X-Appery-Session-Token, granting access to DB.

Example

cURL

curl -X GET \
-H "X-Appery-Database-Id: 544a5cdfe4b03d005b6233b9" \
-H "X-Appery-Session-Token: 6fb9515d-82fd-43b3-9124-f0534dceca8e" \
https://api.appery.io/rest/1/db/files/myFile.txt/acl
{
<user>:{
  <permissionType>:<boolean>,
  ...
},
...
}
in the response:
  • is userId, or " * " for 'public' ACL;
  • is "read" or "write";