ImageList

From Hostway API Documentation
Revision as of 15:29, 1 February 2012 by Administrator (Talk | contribs)
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