ListBuckets
Returns a list of buckets available to the user.

Request

GET / HTTP/1.1

Headings

Use only generic headers in your request .

Answer

Headings

The response can only contain general headers .

Answer codes

For a list of possible answers, see the Answers section .
The successful response contains additional data in XML format, the schema of which is described below.

Data schema

<ListAllMyBucketsResult>
<Buckets>
<Bucket>
<Name>bucket-name</Name>
<CreationDate>date_time</CreationDate>
</Bucket>
...
</Buckets>
</ListAllMyBucketsResult>
Element
Description
Bucket
Contains a description of the bucket. Path: /ListAllMyBucketsResult/Buckets/Bucket.
Buckets
Contains a list of buckets. Path: /ListAllMyBucketsResult/Buckets.
CreationDate
Bucket creation time in yyyy-mm-ddThh:mm:ss.timezone. Path: /ListAllMyBucketsResult/Buckets/Bucket/CreationDate.
ListAllMyBucketsResult
The root element of the response. Path: /ListAllMyBucketsResult.
Name
Bucket name. Path: /ListAllMyBucketsResult/Buckets/Bucket/Name.
Copy link
On this page
Request
Answer