Use when you publish the object data located in specific container to Web.
Set all Read authorities to be permitted by ACLs.
※It differs from Staticweb function.

Request URL

Swift API v1.0

POST /v1/​zc_{account}​/​{container}​/{object}

Request Parameters

Parameter Value Style Description
X-Auth-Token User Token header
account tenant ID URI
container Container Name URI
object Object Name URI
X-Container-Read (Optional) string header
X-Remove-Container-Read (Optional) string header

Request Json

This operation does not accept a request body.

Normal response code



curl -i -X POST \
-H "Accept: application/json" \
-H "X-Auth-Token: 2c6f2de2126a4102b38368c32e7043db" \
-H "X-Container-Read: .r:*" \
HTTP/1.1 204 No Content
Content-Length: 0
Content-Type: text/html; charset=UTF-8
X-Trans-Id: tx7a796f4ba4524c199c82b-00554c37ea
Date: Fri, 08 May 2015 04:13:30 GMT