Go to main content

Oracle® ZFS Storage Appliance Object API Guide for Amazon S3 Service Support, Release OS8.8.0

Exit Print View

Updated: January 2019
 
 

GET Bucket ACL

The GET Bucket ACL operation returns the Access Control List (ACL) of a bucket. To use GET to return the ACL of the bucket, you must have READ_ACP access to the bucket. For more details about this operation, see the following:

Syntax Example

GET https://<appliance>:443/s3/v1/export/<share_mount_point_path>/<bucket_name>?acl

Request Parameters

The GET Bucket ACL operation does not support the use of request parameters.

Request Headers

The GET Bucket ACL operation uses only request headers that are common to all operations. For more information, see Figure 7, Table 7, Common Supported Request Headers .

Request Elements

The GET Bucket ACL operation does not support the use of request elements.

Response Headers

The GET Bucket ACL operation uses only response headers that are common to most responses. For more information, see Figure 9, Table 9, Supported Response Headers .

Response Elements

For a list of supported elements in the XML response for the GET Bucket ACL operation, see Amazon's official S3 GET Bucket ACL API documentation (https://docs.aws.amazon.com/AmazonS3/latest/API/RESTBucketGETacl.html).

Normal Response Code

200

Error Response Code

The GET Bucket API return special errors. For general information about S3 errors and a list of error codes, see S3 Client Error Handling Reference.

Example

GET ?acl
HTTP/1.1 200 OK
x-amz-request-id: tx318BC8BC148832E5
Date: Wed, 28 Oct 2009 22:32:00 GMT
Last-Modified: Sun, 1 Jan 2018 12:00:00 GMT
Content-Length: 124
Content-Type: text/plain
Server: Apache

<AccessControlPolicy>
  <Owner>
    <ID>john</ID>
    <DisplayName>mary</DisplayName>
  </Owner>
  <AccessControlList>
    <Grant>
      <Grantee xsi:type="CanonicalUser">	
        <ID>jane</ID>
        <DisplayName>Bob</DisplayName>
      </Grantee>
      <Permission>FULL_CONTROL</Permission>
    </Grant>
  </AccessControlList>
</AccessControlPolicy>