• Object Storage Service

obs
  1. Help Center
  2. Object Storage Service
  3. API Reference (OBS)
  4. Operations on Buckets
  5. List Buckets
  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: id2 
 Content-Type: type 
 Date: date 
 Content-Length: length 

 <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
 <ListAllMyBucketsResult xmlns="http://obs.example.com/doc/2015-06-30/"> 
 <Owner>
 <ID>id</ID>
 <DisplayName>name</DisplayName> 
 </Owner>
 <Buckets>
 <Bucket>
 <Name>bucketName</Name> 
 <CreationDate>date</CreationDate> 
 </Bucket>
 ...
 </Buckets> 
 </ListAllMyBucketsResult>

Response Headers

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

Response Elements

This response contains a bucket list in the XML format. Table 1 describes the elements in this response.

Table 1 Response elements

Element

Description

ListAllMyBucketsResult

Indicates the bucket list.

Type: XML

Owner

Indicates the user information such as the user ID and user name or domain ID and domain name.

Type: XML

ID

Indicates the user ID or Domain ID.

Type: String

DisplayName

Indicates the user name.

Type: String

Buckets

Indicates the buckets that a user owns.

Type: XML

Bucket

Indicates details about a bucket.

Type: XML

Name

Indicates the bucket name.

Type: String

CreationDate

Indicates the date on which a bucket was created.

Type: String

Error Responses

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