Description
コンテナを作成します。
Request URL
ObjectStorage API v1 PUT /v1/ze_{account}/{container} |
Request Json
This operation does not accept a request body. |
Request Paramters
Parameter | Value | Style | Description |
---|---|---|---|
X-Auth-Token | Userトークン | header | トークンID |
account | テナントID | URI | テナントID |
container | コンテナ名 | URI | コンテナ名 |
X-Container-Read (Optional) |
string | header | |
X-Container-Write (Optional) |
string | header | |
X-Container-Sync-To (Optional) |
string | header | |
X-Container-Sync-Key (Optional) |
string | header | |
X-Versions-Location (Optional) |
string | header | |
X-Container-Meta-name (Optional) |
string | header | |
Content-Type (Optional) |
string | header | |
X-Detect-Content-Type (Optional) |
boolean | header | |
If-None-Match (Optional) |
string | header |
Response
Normal response codes
201 |
Example
Request
curl -i -X PUT \ -H “Accept: application/json” \ -H “X-Auth-Token: トークンID” \ https://object-storage.odc01.eva-clouds.com/v1/ze_テナントID/コンテナ名 |
Response
HTTP/1.1 201 Created Content-Length: 0 Content-Type: text/html; charset=UTF-8 X-Trans-Id: tx48d4c75c82b24f1f984b3-0057b6bbcb Date: Fri, 19 Aug 2016 07:56:59 GMT |