Spectra Logic
1-800-833-1132 : 1-303-449-6400


Access Control Operations : Access Control List Operations : Get Bucket ACLs

Get Bucket ACLs
Get information about all bucket ACLs for the specified bucket. Use parameters as selection criteria to return a subset of the list.
Requests
Syntax
GET http[s]://{datapathDNSname}/_rest_/bucket_acl?bucket_id={string}[&group_id={string}][&last_page][&page_length={32‑bit integer}][&page_offset={32‑bit integer}][&page_start_marker={string}][&permission=LIST|READ|WRITE|DELETE|JOB|OWNER][&user_id={string}]
Request Parameters
Notes:  
§
Specifying both page_offset and page_start_marker causes an error.
§
If neither page_offset, nor page_start_marker are specified, the page_offset default is used.
Values: LIST, READ, WRITE, DELETE, JOB, OWNER
a.
Responses
Response Elements
<Data>
   <BucketAcl>
      <BucketId>{
string}</BucketId>
      <GroupId>{string}</GroupId>
      <Id>{string}</Id>
      <Permission>LIST|READ|WRITE|DELETE|JOB|OWNER</Permission>
      <UserId>{string}</UserId>
   <BucketAcl>
   ...
</Data>
where the response elements are defined as follows:
Values: LIST, READ, WRITE, DELETE, JOB, OWNER
Example
Sample Request
This request gets information about the ACLs for the bucket with the name “bucket1”.
GET http[s]://blackpearl-hostname/_rest_/bucket_acl?bucket_id=bucket1 HTTP/1.1
Sample Response
HTTP/1.1 200 OK
<Data>
   <BucketAcl>
      <BucketId>a4752f84-f206-4273-bee3-ede8e279e292</BucketId>
      <GroupId/>
      <Id>11d71c40-629e-478a-bfae-514e83a154f2</Id>
      <Permission>OWNER</Permission>
      <UserId>9adea849-42ae-4d94-ad86-85a113a63991</UserId>
   </BucketAcl>
</Data>