Description
Request URL
Compute API v2.0
GET /v2/{tenant_id}/images/{image_id}
Request Paramters
| Parameter | Value | Style | Description |
|---|---|---|---|
| X-Auth-Token | User Token | header | |
| image_id | image ID | plain |
Request Json
This operation does not accept a request body.
Normal response codes
200
Example
curl -i -X GET \ -H "Accept: application/json" \ -H "X-Auth-Token: 35941e7df872405d84e5b026dba8323c" \ https://compute.tyo1.cloud.z.com/v2/1864e71d2deb46f6b47526b69c65a45d/images/0ccce41e-7049-49e9-89b0-2fafad2c02a7
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.cloud.z.com/v2/1864e71d2deb46f6b47526b69c65a45d/images/0ccce41e-7049-49e9-89b0-2fafad2c02a7",
"rel": "self"
},
{
"href": "https://compute.tyo1.cloud.z.com/1864e71d2deb46f6b47526b69c65a45d/images/0ccce41e-7049-49e9-89b0-2fafad2c02a7",
"rel": "bookmark"
},
{
"href": "https://image-service.tyo1.cloud.z.com/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": "gncvmi-ror-4.2-centos-6.6",
"progress": 100,
"status": "ACTIVE",
"updated": "2015-05-07T08:14:47Z"
}
}