Description
イメージの詳細一覧を取得します。
Request URL
Compute API
GET /v2/{tenant_id}/images/detail
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 | path | テナントIDを指定します。 |
| limit(Optional) | 表示件数 | query | 取得する情報の表示件数を指定します。 |
| marker(Optional) | 「limit」クエリで応答された情報の最後の項目のID | query | 「limit」クエリを実行後の応答結果から得られた最後の情報の次から改めて情報を取得したい場合に使用します。使用する際は、「limit」クエリで実行後の応答結果で得られる最後の項目のIDを指定します。「limit」と併せて使用します。 |
| name(Optional) | イメージ名 | query | イメージ名を指定します。 |
| type(Optional) | イメージタイプ | query | イメージタイプを指定します。 |
| status(Optional) | イメージのステータス | query | イメージのステータスを指定します。 |
| changes-since(Optional) | ISO 8601 dateTime | query | 日時を指定します。削除されたものを含む、指定時間からのイメージ一覧を表示させたい場合に使用します。例 2016-04-04T17:08Z |
Response Code
Success
200
Example
Request
curl -i -X GET -H "Accept: application/json" -H "X-Auth-Token: トークンID" https://compute.tyo1.conoha.io/v2/テナントID/images/detail
Response
HTTP/1.1 200 OK
Date: Tue, 09 Dec 2014 05:59:17 GMT
Server: Apache
Content-Length: 4822
Content-Type: application/json
{
"images": [
{
"OS-EXT-IMG-SIZE:size": 4353687552,
"created": "2015-05-07T10:48:32Z",
"id": "545e54a7-77ba-4d49-8c0e-af7291bb7b63",
"links": [
{
"href": "https://compute.tyo1.conoha.io/v2/1864e71d2deb46f6b47526b69c65a45d/images/545e54a7-77ba-4d49-8c0e-af7291bb7b63",
"rel": "self"
},
{
"href": "https://compute.tyo1.conoha.io/1864e71d2deb46f6b47526b69c65a45d/images/545e54a7-77ba-4d49-8c0e-af7291bb7b63",
"rel": "bookmark"
},
{
"href": "https://image-service.tyo1.conoha.io/1864e71d2deb46f6b47526b69c65a45d/images/545e54a7-77ba-4d49-8c0e-af7291bb7b63",
"rel": "alternate",
"type": "application/vnd.openstack.image"
}
],
"metadata": {},
"minDisk": 500,
"minRam": 0,
"name": "500G-0507",
"progress": 100,
"status": "ACTIVE",
"updated": "2015-05-07T10:52:15Z"
},
{
"OS-EXT-IMG-SIZE:size": 4332388352,
"created": "2015-05-07T10:46:21Z",
"id": "0ba316e9-4c02-4761-a024-3e64d5301d55",
"links": [
{
"href": "https://compute.tyo1.conoha.io/v2/1864e71d2deb46f6b47526b69c65a45d/images/0ba316e9-4c02-4761-a024-3e64d5301d55",
"rel": "self"
},
{
"href": "https://compute.tyo1.conoha.io/1864e71d2deb46f6b47526b69c65a45d/images/0ba316e9-4c02-4761-a024-3e64d5301d55",
"rel": "bookmark"
},
{
"href": "https://image-service.tyo1.conoha.io/1864e71d2deb46f6b47526b69c65a45d/images/0ba316e9-4c02-4761-a024-3e64d5301d55",
"rel": "alternate",
"type": "application/vnd.openstack.image"
}
],
"metadata": {},
"minDisk": 200,
"minRam": 0,
"name": "200G-0507",
"progress": 100,
"status": "ACTIVE",
"updated": "2015-05-07T10:46:51Z"
},
{
"OS-EXT-IMG-SIZE:size": 3060203520,
"created": "2015-05-06T02:45:24Z",
"id": "2ef53aba-0c1e-4742-a19c-c7a7824878f4",
"links": [
{
"href": "https://compute.tyo1.conoha.io/v2/1864e71d2deb46f6b47526b69c65a45d/images/2ef53aba-0c1e-4742-a19c-c7a7824878f4",
"rel": "self"
},
{
"href": "https://compute.tyo1.conoha.io/1864e71d2deb46f6b47526b69c65a45d/images/2ef53aba-0c1e-4742-a19c-c7a7824878f4",
"rel": "bookmark"
},
{
"href": "https://image-service.tyo1.conoha.io/1864e71d2deb46f6b47526b69c65a45d/images/2ef53aba-0c1e-4742-a19c-c7a7824878f4",
"rel": "alternate",
"type": "application/vnd.openstack.image"
}
],
"metadata": {
"display_order": "260",
"app": "GitLab-7.9.1-64bit",
"hw_qemu_guest_agent": "yes",
"os_type": "lin"
},
"minDisk": 0,
"minRam": 0,
"name": "vmi-gitlab-7.9.1-centos-6.6",
"progress": 100,
"status": "ACTIVE",
"updated": "2015-05-06T02:46:31Z"
},
{
"OS-EXT-IMG-SIZE:size": 1845231616,
"created": "2015-05-05T14:34:36Z",
"id": "27608023-89ef-4818-b47d-a89007fe5e32",
"links": [
{
"href": "https://compute.tyo1.conoha.io/v2/1864e71d2deb46f6b47526b69c65a45d/images/27608023-89ef-4818-b47d-a89007fe5e32",
"rel": "self"
},
{
"href": "https://compute.tyo1.conoha.io/1864e71d2deb46f6b47526b69c65a45d/images/27608023-89ef-4818-b47d-a89007fe5e32",
"rel": "bookmark"
},
{
"href": "https://image-service.tyo1.conoha.io/1864e71d2deb46f6b47526b69c65a45d/images/27608023-89ef-4818-b47d-a89007fe5e32",
"rel": "alternate",
"type": "application/vnd.openstack.image"
}
],
"metadata": {
"display_order": "200",
"app": "LAMP(PHP)-latest-64bit",
"hw_qemu_guest_agent": "yes",
"os_type": "lin"
},
"minDisk": 0,
"minRam": 0,
"name": "vmi-lamp-centos-6.6",
"progress": 100,
"status": "ACTIVE",
"updated": "2015-05-07T10:52:05Z"
},
{
"OS-EXT-IMG-SIZE:size": 2733375488,
"created": "2015-05-05T11:25:19Z",
"id": "0ccce41e-7049-49e9-89b0-2fafad2c02a7",
"links": [
{
"href": "https://compute.tyo1.conoha.io/v2/1864e71d2deb46f6b47526b69c65a45d/images/0ccce41e-7049-49e9-89b0-2fafad2c02a7",
"rel": "self"
},
{
"href": "https://compute.tyo1.conoha.io/1864e71d2deb46f6b47526b69c65a45d/images/0ccce41e-7049-49e9-89b0-2fafad2c02a7",
"rel": "bookmark"
},
{
"href": "https://image-service.tyo1.conoha.io/1864e71d2deb46f6b47526b69c65a45d/images/0ccce41e-7049-49e9-89b0-2fafad2c02a7",
"rel": "alternate",
"type": "application/vnd.openstack.image"
}
],
"metadata": {
"display_order": "210",
"app": "Ruby on Rails-4.2-64bit",
"hw_qemu_guest_agent": "yes",
"os_type": "lin"
},
"minDisk": 0,
"minRam": 0,
"name": "vmi-ror-4.2-centos-6.6",
"progress": 100,
"status": "ACTIVE",
"updated": "2015-05-07T08:14:47Z"
}
]
}
ConoHaにて提供しておりますAPIにつきましては、クラウド基盤として採用しておりますOpenStackの機能にて実装しておりますので、詳細な情報や使い方はOpenStackのドキュメントにてご確認ください。