ImageListDetails

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

Lists all images including details.

GET /images/detail

Parameters

Result

JSON

{
   "images":[
      {
         "status":"ACTIVE",
         "updated":null,
         "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"
            }
         ],
         "created":"2011-09-30T02:38:57",
         "id":"debian_lenny_template"
      },
      {
         "status":"SAVING",
         "updated":null,
         "name":"test by shimde",
         "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"
            }
         ],
         "created":"2011-12-27T02:59:27",
         "id":"vmi2011Dec26_2C7D8Dbur"
      }
   ]
}

id - string
Unique identifier for this image.
links - array
Hypermedia for this resource.
name - string
Descriptive name for this image.
status - string
Current state of this image. Valid values are ACTIVE, SAVING, DELETED.
ACTIVE - Image is ready to be used.
SAVING - Image is being uploaded or saved from a running Server instance.
DELETED - Image was recently deleted or is in the process of being deleted.
created - string
The date and time the image was created. ISO 8601 format, YYYY-MM-DDTHH:MM:SS.
updated
Unused always null.


blog comments powered by Disqus


Personal tools
Namespaces
Variants
Actions
APIs
Navigation
Toolbox