ボリューム一覧取得
Description
ボリュームの一覧を取得します。
Request URL
Block Storage Service API v2 GET v2/{tenant_id}/volumes
Request Json
This operation does not accept a request body.
Request Parameters
Parameter | Value | Style | Description |
---|---|---|---|
X-Auth-Token | トークンID | header | トークン発行 にて払い出されたID |
tenant_id | テナントID | URI | コントロールパネルにてAPI情報をご確認ください。 |
limit (Optional) | 表示件数 | query | 取得する情報の表示件数を指定します。 |
Response
-
Normal response codes
200
Example
-
Request
curl -X GET \ -H "Accept: application/json" \ -H "X-Auth-Token: トークンID" \ ボリュームエンドポイント/volumes
-
Response
{ "volumes": [ { "id": "ボリュームID", "links": [ { "href": "ボリュームエンドポイント/volumes/ボリュームID", "rel": "self" }, { "href": "https://block-service-r4nd1001.app-sys.jp/テナントID/volumes/ボリュームID", "rel": "bookmark" } ], "name": "ディスク名" }, { "id": "ボリュームID", "links": [ { "href": "ボリュームエンドポイント/volumes/ボリュームID", "rel": "self" }, { "href": "https://block-service-r4nd1001.app-sys.jp/テナントID/volumes/ボリュームID", "rel": "bookmark" } ], "name": "ディスク名" } ] }