ServerActionReboot

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

Revision as of 16:37, 1 February 2012

Reboots a server.

POST /servers/id/action

Parameters

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

JSON

{
   "reboot":{
      "type":"HARD"
   }
}


type - string
Type of reboot to preform. Values: HARD, SOFT.

Result

blog comments powered by Disqus


Personal tools
Namespaces
Variants
Actions
APIs
Navigation
Toolbox