• Object Storage Service

obs
  1. Help Center
  2. Object Storage Service
  3. API Reference (OBS)
  4. Operations on Buckets
  5. GET Bucket acl
  6. Responses

Responses

Syntax

HTTP/1.1 status_code 
 Server: Server Name 
 x-amz-request-id: request id 
 x-reserved: amazon, aws and amazon web services are trademarks or registered trademarks of Amazon Technologies, Inc
 x-amz-id-2: id 
 Content-Type: type 
 Date: date 
 Content-Length: length 

 <?xml version="1.0" encoding="UTF-8" standalone="yes"?> 
 <AccessControlPolicy xmlns="http://obs.example.com/doc/2015-06-30/"> 
 <Owner> 
 <ID>id</ID> 
 <DisplayName>name</DisplayName> 
 </Owner> 
 <AccessControlList> 
 <Grant> 
 <Grantee xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="CanonicalUser"> 
 <ID>id</ID> 
 <DisplayName>name</DisplayName> 
 </Grantee> 
 <Permission>permission</Permission> 
 </Grant> 
 </AccessControlList> 
 </AccessControlPolicy>

Response Headers

This response uses common headers. For details about common response headers, see section Common Response Headers.

Response Elements

This response contains elements to provide details about a bucket ACL. Table 1 describes the elements.

Table 1 Response elements

Element

Description

Owner

Indicates the bucket owner.

Type: XML

ID

DomainId of the user.

Type: String

DisplayName

Indicates the user name.

Type: String

AccessControlList

Indicates the ACL that records all users who have permission to access the bucket and permission granted to the users.

Type: XML

Grant

Container for the grantee and its permission.

Type: XML

Grantee

Container for the details about the grantee.

Type: XML

Permission

Indicates the grantee's permission for a bucket.

Type: String

Error Responses

No special errors are returned. For details about error responses, see Table 1.