コンテナ情報取得
Description
コンテナ情報を取得します。
Request URL
ObjectStorage API v1
GET /v1/ze_{account}/{container}
Request Json
This operation does not accept a request body.
Request Parameters
| Parameter | Value | Style | Description |
|---|---|---|---|
| X-Auth-Token | Userトークン | header | トークン発行 にて払い出されたID |
| X-Newest(Optional) | boolean | header | |
| Accept(Optional) | string | header | |
| account | テナントID | URI | API情報を確認する にてご確認ください。 |
| container | コンテナ名 | URI | アカウント情報・コンテナ一覧取得にてご確認ください。 |
| limit(Optional) | int | query | |
| marker(Optional) | string | query | |
| end_maker(Optional) | string | query | |
| format(Optional) | string | query | |
| prefix(Optional) | string | query | |
| delimiter(Optional) | char | query | |
| path (Optional) | string | query |
Response
-
Normal response codes
200, 204
Example
-
Request
curl -i -X GET \ -H "Accept: application/json" \ -H "Content-Type: application/json" \ -H "X-Auth-Token: トークンID" \ https://object-storage.jpt1.cloud.z.com/v1/ze_テナントID/コンテナ名
-
Response
HTTP/1.1 200 OK
Content-Length: 163
X-Container-Object-Count: 1
Accept-Ranges: bytes
X-Storage-Policy: Policy-0
X-Container-Bytes-Used: 80831520
X-Timestamp: 1471593419.64864
Content-Type: application/json; charset=utf-8
X-Trans-Id: tx473c09441c06436888931-0057b6c653
Date: Fri, 19 Aug 2016 08:41:55 GMT
[
{
"bytes": 80831520,
"content_type": "text/plain",
"hash": "4514a69dc1d5aae6be9ffed9ccd2ec74",
"last_modified": "2016-08-19T08:04:43.334090",
"name": "dummy.txt"
}
]