Get an image
GET /v2/images/<IMAGE_ID>
Normal response codes: 200
Request body ignored.
Response body is a single image entity. Using GET /v2/image/da3b75d9-3f4a-40e7-8a2cbfab23927dea as an example:
{
"id": "da3b75d9-3f4a-40e7-8a2c-bfab23927dea",
"name": "cirros-0.3.0-x86_64-uec-ramdisk",
"status": "active",
"visibility": "private",
"size": 2254249,
"checksum": "2cec138d7dae2aa59038ef8c9aec2390",
"tags": ["ping", "pong"],
"created_at": "2012-08-10T19:23:50Z",
"updated_at": "2012-08-10T19:23:50Z",
"self": "/v2/images/da3b75d9-3f4a-40e7-8a2c-bfab23927dea",
"file": "/v2/images/da3b75d9-3f4a-40e7-8a2c-bfab23927dea/file",
"schema": "/v2/schemas/image"
}
{
"status": "active",
"name": "fjh_asa_20180427_003",
"tags": [],
"container_format": "bare",
"created_at": "2018-04-27T08:06:53Z",
"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=da3b75d9-3f4a-40....",
"disk_format": "qcow2",
"updated_at": "2018-04-27T08:20:26Z",
"visibility": "private",
"self": "/v2/images/3eb2d8df-487b-4e82-a5ad......",
"min_disk": 0,
"protected": false,
"min_ram": 0,
"file": "/v2/images/3eb2d8df-487b-4e82-a5ad-c......./file",
"checksum": "e2df1a86f3cb38f56aaeecc6.....",
"owner": "776a290892b747c4af8cec2a6....",
"size": 194008676,
"id": "da3b75d9-3f4a-40e7-8a2cbfab23927dea",
"schema": "/v2/schemas/image"
}
Property Protections
Version 2.2 of the Images API acknowledges the ability of a cloud provider to employ property protections. Thus, there may be some image properties that will not appear in the image detail response for non-admin users.