ConoHa API Documantation

イメージ詳細取得(アイテム指定)(glance) - Image API v2

Description

image_id を指定し該当するイメージの情報を取得する

Request URL

Image API v2

GET /v2/images/{image_id}

Request Paramters

Parameter Value Style Description
X-Auth-Token Userトークン header トークンID
image_id イメージID URI イメージID

Normal response codes

OK (200)

Example
※エンドポイントURLにつきましては、お客様環境によって異なりますので、コントロールパネルにてご確認の上ご利用ください。

  • REQ
curl -i -X GET \
-H "Accept: application/json" \
-H "X-Auth-Token: 35941e7df872405d84e5b026dba8323c" \
https://image-service.tyo1.conoha.io/v2/images/a2b95d7e-d4d3-4c29-bdcd-19d2a144547e
  • RES
HTTP/1.1 200 OK
Date: Tue, 09 Dec 2014 07:18:57 GMT
Server: Apache
Content-Length: 641
Content-Type: application/json

{
    "checksum": "113beb51bf3277034daf8ee3e06e739a",
    "container_format": "ovf",
    "created_at": "2015-05-01T06:48:37Z",
    "direct_url": "file:///var/lib/glance/images/647dcc7827f24909a096147ea4a4ccca/a2b95d7e-d4d3-4c29-bdcd-19d2a144547e",
    "disk_format": "qcow2",
    "display_order": "150",
    "file": "/v2/images/a2b95d7e-d4d3-4c29-bdcd-19d2a144547e/file",
    "dst": "Fedora-21-64bit",
    "hw_qemu_guest_agent": "yes",
    "id": "a2b95d7e-d4d3-4c29-bdcd-19d2a144547e",
    "min_disk": 0,
    "min_ram": 0,
    "name": "vmi-fedora-21-x86_64",
    "os_type": "lin",
    "owner": "647dcc7827f24909a096147ea4a4ccca",
    "protected": false,
    "schema": "/v2/schemas/image",
    "self": "/v2/images/a2b95d7e-d4d3-4c29-bdcd-19d2a144547e",
    "size": 1348730880,
    "status": "active",
    "tags": [],
    "updated_at": "2015-05-05T11:45:56Z",
    "visibility": "public"
}