ServerActionResize

(Difference between revisions)
Jump to: navigation, search
(Created page with "Changes the Flavor of a server. '''POST''' /servers/'''id'''/action == Parameters == ; id : The unique identifier of the image to be retrieved. ''Note see warnings in [[...")
 
(JSON)
Line 8: Line 8:
  
 
=== JSON ===
 
=== JSON ===
<nowiki>
+
 
 +
<big><source lang="javascript">
 
{
 
{
 
   "resize":{
 
   "resize":{
Line 16: Line 17:
 
   }
 
   }
 
}
 
}
</nowiki>
+
</source></big>
  
 
; id - ''string''
 
; id - ''string''

Revision as of 15:38, 1 February 2012

Changes the Flavor of a server.

POST /servers/id/action

Parameters

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

JSON

{
   "resize":{
      "flavor":{
         "id":"4"
      }
   }
}
id - string
The id of the flavor to to use. Why is this not a flavorRef with an absolute URL?

Result

blog comments powered by Disqus


Personal tools
Namespaces
Variants
Actions
APIs
Navigation
Toolbox