2012-04-25 21:46:51 +00:00
|
|
|
Service Operations
|
|
|
|
==================
|
|
|
|
|
|
|
|
List Buckets
|
|
|
|
------------
|
2012-05-03 17:15:21 +00:00
|
|
|
``GET /`` returns a list of buckets created by the user making the request. ``GET /`` only
|
2012-04-25 21:46:51 +00:00
|
|
|
returns buckets created by an authenticated user. You cannot make an anonymous request.
|
|
|
|
|
|
|
|
Syntax
|
|
|
|
~~~~~~
|
|
|
|
::
|
|
|
|
|
|
|
|
GET / HTTP/1.1
|
|
|
|
Host: cname.domain.com
|
2012-05-03 17:15:21 +00:00
|
|
|
|
2012-04-25 21:46:51 +00:00
|
|
|
Authorization: AWS {access-key}:{hash-of-header-and-secret}
|
|
|
|
|
|
|
|
Response Entities
|
|
|
|
~~~~~~~~~~~~~~~~~
|
|
|
|
|
|
|
|
+----------------------------+-------------+-----------------------------------------------------------------+
|
|
|
|
| Name | Type | Description |
|
|
|
|
+============================+=============+=================================================================+
|
|
|
|
| ``Buckets`` | Container | Container for list of buckets. |
|
|
|
|
+----------------------------+-------------+-----------------------------------------------------------------+
|
|
|
|
| ``Bucket`` | Container | Container for bucket information. |
|
|
|
|
+----------------------------+-------------+-----------------------------------------------------------------+
|
|
|
|
| ``Name`` | String | Bucket name. |
|
|
|
|
+----------------------------+-------------+-----------------------------------------------------------------+
|
|
|
|
| ``CreationDate`` | Date | UTC time when the bucket was created. |
|
|
|
|
+----------------------------+-------------+-----------------------------------------------------------------+
|
|
|
|
| ``ListAllMyBucketsResult`` | Container | A container for the result. |
|
|
|
|
+----------------------------+-------------+-----------------------------------------------------------------+
|
|
|
|
| ``Owner`` | Container | A container for the bucket owner's ``ID`` and ``DisplayName``. |
|
|
|
|
+----------------------------+-------------+-----------------------------------------------------------------+
|
|
|
|
| ``ID`` | String | The bucket owner's ID. |
|
|
|
|
+----------------------------+-------------+-----------------------------------------------------------------+
|
|
|
|
| ``DisplayName`` | String | The bucket owner's display name. |
|
|
|
|
+----------------------------+-------------+-----------------------------------------------------------------+
|