Get User Permissions
Get user permissions for site and space (path).
Resource Information
This service uses the tomcat application on port 8080 by default. To see a list of default ports click here
The context for this API is /studio
, please prefix the API URLs with this context.
HTTP Verb
|
GET
|
URL
|
/api/1/services/api/1/security/get-user-permissions.json |
Response Formats
|
JSON |
Required Role
|
Parameters
Name
|
Type
|
Required
|
Description
|
---|---|---|---|
site_id
|
String
|
Site to use
|
|
path
|
String
|
Path of the content
|
Example
GET .../api/1/services/api/1/security/get-user-permissions.json?site_id=mysite&path=/site/website/style/index.xml
1{
2 "permissions":
3 [
4 "create folder",
5 "webdav_write",
6 "read",
7 "webdav_read",
8 "create content",
9 "s3 read",
10 "write",
11 "s3 write",
12
13 ]
14}
Response
Status
|
Location
|
Response Body
|
---|---|---|
200
|
See example above.
|