アカウント情報・コンテナ一覧取得
Description
コンテナ一覧を取得します。
ヘッダーからアカウント情報を参照することができます。
Request URL
ObjectStorage API v1 GET /v1/gac50_{account}
Request Json
This operation does not accept a request body.
Request Parameters
Parameter | Value | Style | Description |
---|---|---|---|
X-Auth-Token | トークンID | header | トークン発行 にて払い出されたID |
X-Newest(Optional) | boolean | header | |
Accept (Optional) | string | header | |
account | テナントID | URI | テナントID |
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 |
Response
-
Normal response codes
200
Example
-
Request
curl -i -X GET \ -H "Accept: application/json" \ -H "Content-Type: application/json" \ -H "X-Auth-Token: トークンID" \ オブジェクトストレージエンドポイント
-
Response
HTTP/1.1 200 OK Content-Length: 167 X-Account-Object-Count: 7 X-Account-Storage-Policy-Policy-0-Bytes-Used: 62914581 X-Account-Storage-Policy-Policy-0-Container-Count: 2 X-Timestamp: 1522317112.13169 X-Account-Storage-Policy-Policy-0-Object-Count: 7 X-Account-Bytes-Used: 62914581 X-Account-Container-Count: 2 Content-Type: application/json; charset=utf-8 Accept-Ranges: bytes X-Trans-Id: txdd618e13babd45968b0bf-005abe1a7e Date: Fri, 30 Mar 2018 11:07:42 GMT [ { "count": オブジェクト数, "bytes": コンテナ容量, "name": "コンテナ名" }, { "count": オブジェクト数, "bytes": コンテナ容量, "name": "コンテナ名" } ]