Object storage
Bucket operation

PutBucket

Creates a bucket. The name in the host carries the AppId.

PUT200 on successluzon

Request

Request line
PUT https://<bucket>-<appid>.cos.luzon.convergecloudcos.com/

Addressed at the bucket host, <bucket>-<appid>.cos.luzon.convergecloudcos.com, where <appid> is the account AppId.

Behaviour

The bucket is created in the region named by the host. An empty body is accepted; the response has no body.

Example

curl
curl -X PUT \
  -H "Authorization: q-sign-algorithm=sha1&q-ak=…&q-signature=…" \
  "https://<bucket>-<appid>.cos.luzon.convergecloudcos.com/"

Returns 200 with no response body.