GetBucketLocation

Tebi is a distrubuted cloud storage – all buckets are global. This API call is implemented only for S3 protocol compatibility.

You must have Full ACL to be able to call this action.

The following operations are related to GetBucketLocation:

Request Syntax

1GET /?location HTTP/1.1
2Host: <BUCKET>.s3.tebi.io

The request uses the following URI parameters:

  • <BUCKET>: Name of the bucket for which to set the configuration. Required.

The request does not have a request body.

Response Syntax

1HTTP/1.1 200
2Content-Length: ContentLength
3Content-Type: application/xml
4
5<?xml version="1.0" encoding="UTF-8"?>
6<LocationConstraint>
7    <LocationConstraint></LocationConstraint>
8</LocationConstraint>

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in XML format by the service:

  • LocationConstraint: Root level tag for the LocationConstraint parameters.

  • LocationConstraint: Will always be an empty string because all buckets are global at Tebi.

See Also

Refer here for more information.