Object storage
Object operation

PutObject

Writes an object. The request body is the object content.

PUT200 on successluzon

Request

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

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

Behaviour

Send Content-Type for the object's media type. The reply carries the content's ETag and no body.

Example

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

Returns 200 with no response body.