Bucket:Get Permissions

Search (SHIFT+S)




New in this release

Get Permissions

GET /object/bucket/acl/permissions

Gets all ACL permissions.


Required Roles

Requires one of the following roles:

  • SYSTEM_ADMIN

  • SYSTEM_MONITOR

  • NAMESPACE_ADMIN


Response Body

Response contains the permission details for the ACL.

Field Description Type Notes
<permissions>
<permission>     0-* Elements
<id> Permission id String
<display_name> Display name String
<description> Description String
</permission>      
</permissions>

Examples

Request
GET https://192.168.0.0:4443/object/bucket/acl/permissions HTTP/1.1  

Concept-Type: application/xml 
X-SDS-AUTH-TOKEN: <AUTH_TOKEN>
Response
HTTP/1.1 200 OK
Content-Type: application/xml 

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<permissions>
    <permission>
        <id>read</id>
        <display_name>read</display_name>
    </permission>
</permissions>
Notes: