GET Service

From Hostway API Documentation
Jump to: navigation, search

Returns a list of all buckets owned by the authenticated sender of the request

GET /

Requests

Syntax
GET / HTTP/1.1
Host: hs2.hostway.com
Date: date
Authorization: signatureValue
Parameters

This implementation of the operation does not use request parameters.

Headers

This implementation of the operation only uses request headers common to all operations

Elements in body

This implementation of the operation does not use request elements.

Responses

Headers

This implementation of the operation uses only response headers that are common to most responses

Elements
  • Bucket: Container for bucket information.
  • Buckets: Container for one or more buckets.
  • CreationDate: Date the bucket was created.
  • DisplayName: Bucket owner's display name
  • ID: Bucket owner's user ID.
  • ListAllMyBucketsResult: Container for response
  • Name: Bucket's name.
  • Owner: Container for bucket owner information.

Examples

Sample Request
GET / HTTP/1.1
Authorization: AWS signatureValue
Date: date
Host: hs2.hostway.com


Sample Response
<?xml version="1.0" encoding="utf-8"?>
<ListAllMyBucketsResult xmlns="http://s3.amazonaws.com/doc/2006-03-01/">
  <Owner>
    <DisplayName>youngbae.oh@hostwaycorp.com</DisplayName>
    <ID>d45dc7d25125281926cac849e6ae78374f200ee1e8072e389d000026b1899d1a</ID>
  </Owner>
  <Buckets>
    <Bucket>
      <CreationDate>2012-01-25T19:44:43.000Z</CreationDate>
      <Name>this-is-dev</Name>
    </Bucket>
  </Buckets>
</ListAllMyBucketsResult>
 
Personal tools
Namespaces
Variants
Actions
APIs
Navigation
Toolbox