Spectra Logic
1-800-833-1132 : 1-303-449-6400


Amazon S3 Operations : Amazon S3 Bucket Operations : Get Buckets (Get Service)

Get Buckets (Get Service)
Description
Retrieves a list of all buckets owned by the sender of the request. This is an Amazon S3 compatible operation.
See Get Service for Amazon S3 operation details.
Also see Get Buckets - Spectra S3.
Requests
Syntax
GET http[s]://{datapathDNSname}/
Responses
Response Elements
<ListAllMyBucketsResult>
   <Buckets>
      <Bucket>
         <CreationDate>{
YYYY-MM-DDThh:mm:ss.xxxZ}</CreationDate>
         <Name>{string}</Name>
      </Bucket>
      ...
   </Buckets>
   <Owner>
      <DisplayName>{string}</DisplayName>
      <ID>{string}</ID>
   </Owner>
</ListAllMyBucketsResult>
where the response elements are defined as follows:
Example
Sample Request
This request lists the buckets owned by the sender.
GET http://blackpearl-hostname/ HTTP/1.1
Sample Response
HTTP/1.1 200 OK
<ListAllMyBucketsResult>
   <Buckets>
      <Bucket>
         <CreationDate>2014-09-10T20:21:27.000Z</CreationDate>
         <Name>bucket1</Name>
      </Bucket>
      <Bucket>
         <CreationDate>2014-09-12T17:28:41.000Z</CreationDate>
         <Name>bucket2</Name>
      </Bucket>
   </Buckets>
   <Owner>
      <DisplayName>spectra</DisplayName>
      <ID>2d7a060f-640a-4186-875f-e413a47a85c2</ID>
   </Owner>
</ListAllMyBucketsResult>