ImageList

From Hostway API Documentation
Revision as of 19:20, 27 January 2012 by Administrator (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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