ImageList

(Difference between revisions)
Jump to: navigation, search
(Created page with "Lists all images. '''GET''' /images == Parameters == == Result == === JSON === <nowiki> { "images":[ { "name":"debian", "links":[ { ...")
 
(JSON)
Line 7: Line 7:
 
== Result ==
 
== Result ==
 
=== JSON ===
 
=== JSON ===
<nowiki>
+
<big><source lang="javascript">
{
+
 
   "images":[
 
   "images":[
 
       {
 
       {
Line 40: Line 39:
 
   ]
 
   ]
 
}
 
}
</nowiki>
+
</source></big>
 +
 
  
 
; id - ''string''
 
; id - ''string''

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