Image

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

Gets a single image including details.

GET /images/id

Parameters

id
The unique identifier of the image to be retrieved. Note see warnings in Hypermedia.

Result

JSON

{
   "image":{
      "status":"SAVING",
      "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"
   }
}

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