GET Bucket location
From Hostway API Documentation
Revision as of 13:36, 30 May 2016 by Corinne.chui (Talk | contribs)
Returns a bucket's Region.
GET /?location
Requests
- Syntax
GET /?location HTTP/1.1 Host: BucketName.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
- LocationConstraint: Specifies the Region where the bucket resides.
Examples
- Sample Request
GET /?location HTTP/1.1 Host: BucketName.hs2.hostway.com Date: date Authorization: AWS signatureValue
- Sample Response
<LocationConstraint xmlns="http://s3.amazonaws.com/doc/2006-03-01/">US</LocationConstraint>