Get image details 2

Method URI Description
GET /v2/{tenant_id}/images/{image_id} Gets details for a specified image. Includes the image size.

Normal response codes: 200

Request

This table shows the URI parameters for the get image details request:

Name Type Description
{tenant_id} String Project ID
{image_id} String Image ID stored through the image API. Typically a UUID.

This operation does not require a request body.

Response

Example. Get image details: JSON response


{
	"image": {
		"status": "ACTIVE",
		"updated": "2018-04-27T08:20:26Z",
		"links": [
			{
			"href": "http://10.3.0.201/v2/70a599e0-31e7-.........../
images/3eb2d8df-...........",
			"rel": "self"
			},
			{
			"href": "http://10.3.0.201/70a599e0-31e7-.........../images/3eb2d8df-...........",
			"rel": "bookmark"
			},
			{
			"href": "http://10.3.0.119:9292/70a599e0-31e7-.........../
images/3eb2d8df-...........",
			"type": "application/vnd.openstack.image",
			"rel": "alternate"
			}
		],
		"id": "3eb2d8df-3eb2d8df-...........",
		"OS-EXT-IMG-SIZE:size": 194008676,
		"name": "fj_asa_20180427_003",
		"created": "2018-04-27T08:06:53Z",
		"minDisk": 0,
		"progress": 100,
		"minRam": 0,
		"metadata": {
			"sync_status_reason": "ERROR:A timeout occurred during synchronize image
the server(http://10.7.0.201:9292 <http://10.7.0.201:9292/> ) in the image operation.
image_id=3eb2d8df-..........."
		}
	}
}


{
	"image": {
		"OS-EXT-IMG-SIZE:size": "74185822",
		"created": "2011-01-01T01:02:03Z",
		"id": "70a599e0-31e7-49b7-b260-868f441e862b",
		"links": [
			{
				"href": "http://openstack.example.com/v2/openstack/images/70a599e0-31e7-49b7-b260-868f441e862b",
				"rel": "self"
			},
			{
				"href": "http://openstack.example.com/openstack/images/70a599e0-31e7-49b7-b260-868f441e862b",
				"rel": "bookmark"
			},
			{
				"href": "http://glance.openstack.example.com/openstack/images/70a599e0-31e7-49b7-b260-868f441e862b",
				"rel": "alternate",
				"type": "application/vnd.openstack.image"
			}
		],
		"metadata": {
			"architecture": "x86_64",
			"auto_disk_config": "True",
			"kernel_id": "nokernel",
			"ramdisk_id": "nokernel"
		},
		"minDisk": 0,
		"minRam": 0,
		"name": "fakeimage7",
		"progress": 100,
		"status": "ACTIVE",
		"updated": "2011-01-01T01:02:03Z"
	}
}