ImageList
(Difference between revisions)
(→JSON) |
(→JSON) |
||
Line 8: | Line 8: | ||
=== JSON === | === JSON === | ||
<big><source lang="javascript"> | <big><source lang="javascript"> | ||
+ | { | ||
"images":[ | "images":[ | ||
{ | { |
Revision as of 15:29, 1 February 2012
Lists all images.
GET /images
Parameters
Result
JSON
{ "images":[ { "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" } ], "id":"debian_lenny_template" }, { "name":"windows 2007", "links":[ { "href":"http://127.0.0.1:6543/images/vmi2011Dec26_2C7D8Dbur/", "rel":"self" }, { "href":"http://127.0.0.1:6543/images/vmi2011Dec26_2C7D8Dbur/", "rel":"bookmark" } ], "id":"vmi2011Dec26_2C7D8Dbur" } ] }
- id - string
- Unique identifier for this image.
- links - array
- Hypermedia for this resource.
- name - string
- Descriptive name for this image.