Object storage
Bucket operation
GetBucketLocation
Returns the region the bucket lives in.
GET200 on successluzon
Request
Request line
GET https://<bucket>-<appid>.cos.luzon.convergecloudcos.com/?locationAddressed at the bucket host, <bucket>-<appid>.cos.luzon.convergecloudcos.com, where <appid> is the account AppId.
Query parameters: location. Every query parameter in the request must also be named in q-url-param-list and covered by the signature.
Behaviour
On Converge Cloud this is always luzon.
Example
curl
curl -X GET \
-H "Authorization: q-sign-algorithm=sha1&q-ak=…&q-signature=…" \
"https://<bucket>-<appid>.cos.luzon.convergecloudcos.com/?location"Response — 200
<?xml version='1.0' encoding='utf-8' ?>
<LocationConstraint>luzon</LocationConstraint>