ImageList

(Difference between revisions)
Jump to: navigation, search
(JSON)
(JSON)
Line 8: Line 8:
 
=== JSON ===
 
=== JSON ===
 
<big><source lang="javascript">
 
<big><source lang="javascript">
 +
{
 
   "images":[
 
   "images":[
 
       {
 
       {

Revision as of 16: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.


blog comments powered by Disqus


Personal tools
Namespaces
Variants
Actions
APIs
Navigation
Toolbox