MENU
オブジェクトアップロード - ObjectStorage API v1
Description
Request URL
Swift API v1.0 PUT /v1/nc_{account}/{container}/ {object}
Request Parameters
Parameter | Value | Style | Description |
---|---|---|---|
X-Auth-Token | Userトークン | header | |
account | tenant ID | URI | |
container | コンテナ名 | URI | |
object | オブジェクト名 | URI |
Request Json
This operation does not accept a request body.
Normal response code
201
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/ \ -T file1
- RES
HTTP/1.1 100 Continue HTTP/1.1 201 Created Last-Modified: Thu, 07 May 2015 08:31:29 GMT Content-Length: 0 Etag: 1276481102f218c981e0324180bafd9f Content-Type: text/html; charset=UTF-8 X-Trans-Id: tx345b2e3321084fbfb9470-00554b22e0 Date: Thu, 07 May 2015 08:31:28 GMT