Description
Obtains the specified image information.
Request
GET /images/{id}
Request description
Attribute | Type | Required | Description |
---|---|---|---|
Id | String | Yes | Image ID. |
Response
Response status code
HTTP/1.1 200 OK
Response body
{
"CreationTime": "2016-10-31T06:55:33.921897Z",
"Name": "Usr-Image",
"Id": "img-23jkhds",
"Description": "Image Description",
"EcsImageId": "m-32dsf3f",
"OwnerId": "123456",
"Platform": "Linux",
"Type": "Self"
}
Response description
The attributes are described in ImageInfo.
Error codes
Error code | Error message | Status code | Meaning |
---|---|---|---|
InvalidResource.NotFound | Specified resource is not found. | 404 | The user requested resource does not exist. |