ConoHa API Documantation

コンテナ作成 - ObjectStorage API v1

Description

Request URL

Swift API v1.0

PUT /v1/​nc_{account}​/​{container}​

Request Parameters

Parameter Value Style Description
X-Auth-Token Userトークン header
account tenant ID URI
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

Request Json

This operation does not accept a request body.

Normal response code

201, 204

Example

※エンドポイントURLにつきましては、お客様環境によって異なりますので、コントロールパネルにてご確認の上ご利用ください。

  • REQ
curl -i -X PUT \
-H "Accept: application/json" \
-H "X-Auth-Token: 2c6f2de2126a4102b38368c32e7043db" \
https://object-storage.tyo1.conoha.io/v1/nc_cc54f7476b8e444bad238a943a94ccdf/container
  • RES
HTTP/1.1 201 Created
Content-Length: 0
Content-Type: text/html; charset=UTF-8
X-Trans-Id: tx2f5a4744de404434af54f-00554b21d6
Date: Thu, 07 May 2015 08:27:02 GMT