ConoHa API Documantation

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

Description

Request URL

Compute API v2.0

GET /v2/{tenant_id}/images/{image_id}

Request Paramters

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

Request Json

This operation does not accept a request body.

Normal response codes

200

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

  • REQ
curl -i -X GET \
-H "Accept: application/json" \
-H "X-Auth-Token: 35941e7df872405d84e5b026dba8323c" \
https://compute.tyo1.conoha.io/v2/1864e71d2deb46f6b47526b69c65a45d/images/0ccce41e-7049-49e9-89b0-2fafad2c02a7
  • RES
HTTP/1.1 200 OK
Date: Tue, 09 Dec 2014 06:05:50 GMT
Server: Apache
Content-Length: 719
Content-Type: application/json

{
    "image": {
        "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",
            "gnc_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"
    }
}