ListBuckets
Returns a list of buckets available to the user.

Request

1
GET / HTTP/1.1
Copied!

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

1
<ListAllMyBucketsResult>
2
<Buckets>
3
<Bucket>
4
<Name>bucket-name</Name>
5
<CreationDate>date_time</CreationDate>
6
</Bucket>
7
...
8
</Buckets>
9
</ListAllMyBucketsResult>
Copied!
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