Image
(Difference between revisions)
(Created page with "Gets a single image including details. '''GET''' /images/'''id''' == Parameters == ; id : The unique identifier of the image to be retrieved. ''Note see warnings in [[Hyperm...") |
(→JSON) |
||
Line 9: | Line 9: | ||
== Result == | == Result == | ||
=== JSON === | === JSON === | ||
− | + | ||
+ | <big><source lang="javascript"> | ||
{ | { | ||
"image":{ | "image":{ | ||
Line 29: | Line 30: | ||
} | } | ||
} | } | ||
− | </ | + | </source></big> |
+ | |||
; id - ''string'' | ; id - ''string'' |
Revision as of 15:32, 1 February 2012
Gets a single image including details.
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.