ImageListDetails

(Difference between revisions)
Jump to: navigation, search
(Created page with "Lists all images including details. '''GET''' /images/detail == Parameters == == Result == === JSON === <nowiki> { "images":[ { "status":"ACTIVE", ...")
 
(JSON)
Line 7: Line 7:
 
== Result ==
 
== Result ==
 
=== JSON ===
 
=== JSON ===
<nowiki>
+
 
 +
<big><source lang="javascript">
 
{
 
{
 
   "images":[
 
   "images":[
Line 46: Line 47:
 
   ]
 
   ]
 
}
 
}
</nowiki>
+
</source></big>
 +
 
  
 
; id - ''string''
 
; id - ''string''

Revision as of 15:30, 1 February 2012

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