Image
(Difference between revisions)
(→JSON) |
|||
Line 1: | Line 1: | ||
− | + | This operation will return details of a single image. | |
'''GET''' /images/'''id''' | '''GET''' /images/'''id''' |
Revision as of 13:38, 2 February 2012
This operation will return details of a single image.
GET /images/id
Parameters
- id
- The unique identifier of the image to be retrieved. Note see warnings in Hypermedia.
Result
JSON
{ "image":{ "status":"SAVING", "updated":null, "name":"debian", "links":[ { "href":"http://127.0.0.1:6543/images/debian_lenny_template/", "rel":"self" }, { "href":"http://127.0.0.1:6543/images/debian_lenny_template/", "rel":"bookmark" } ], "created":"2011-09-30T02:38:57", "id":"debian_lenny_template" } }
- id - string
- Unique identifier for this image.
- links - array
- Hypermedia for this resource.
- name - string
- Descriptive name for this image.
- status - string
- Current state of this image. Valid values are ACTIVE, SAVING, DELETED.
- ACTIVE - Image is ready to be used.
- SAVING - Image is being uploaded or saved from a running Server instance.
- DELETED - Image was recently deleted or is in the process of being deleted.
- created - string
- The date and time the image was created. ISO 8601 format, YYYY-MM-DDTHH:MM:SS.
- updated
- Unused always null.