• Object Storage Service

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

Responses

Syntax

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

 <?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.

This response also uses one optional header, as described in Table 1.

Table 1 Optional response header

Header

Description

x-amz-version-id

Indicates the version ID of the specified object.

Valid values: String

Default: None

Response Elements

This response contains elements to specify the returned object ACL. Table 2 describes the elements.

Table 2 Response elements

Element

Description

DisplayName

Indicates the user name.

Type: String

ID

DomainId of the user.

Type: String

AccessControlList

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

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 an object.

Type: String

Error Responses

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