Server

From INAP Dropzone API
(Difference between revisions)
Jump to: navigation, search
(Created page with "==Dedicated Server & Cloud Commands== ===/server/list=== the list command will return a list of all the servers that are associated with your account, those being dedicated, d...")
 
Line 5: Line 5:
 
'''Required Data Parameters'''
 
'''Required Data Parameters'''
 
*None
 
*None
'''Required Data Parameters'''
+
'''Returned Data Parameters'''
*'''''success''''', TRUE/FALSE
+
<pre>
*'''''servers''''', Array of all your servers and VMs.
+
stdClass Object (
**'''''status''''': Server status (online,offline,provisioning).
+
  [success] => TRUE/FALSE
**'''''serverid''''': Server ID number.
+
  [data] => Array(
**'''''os''''': Currently installed operating system.
+
    [0] => stdClass Object(
**'''''hostname''''': Server host name, as in "leap.singlehop.com".
+
      [status] => Server status (online,offline,provisioning).
**'''''ram''''': Amount of RAM and type installed.
+
      [serverid] => Server ID number.
**'''''type''''': Type of server (server,vmnode,vm).
+
      [os] => Currently installed operating system.
**'''''cputype''''': Type of CPU that is currently installed.
+
      [hostname] => Server host name, as in "leap.singlehop.com".
**'''''cpuspeed''''': Speed of the CPU in GHz.
+
      [ram] => Amount of RAM and type installed.
 +
      [type] => Type of server (server,vmnode,vm).
 +
      [cputype] => Type of CPU that is currently installed.
 +
      [cpuspeed] => Speed of the CPU in GHz.
 +
    )
 +
  )
 +
)
 +
</pre>
 +
 
  
  

Revision as of 17:50, 9 March 2012

Contents

Dedicated Server & Cloud Commands

/server/list

the list command will return a list of all the servers that are associated with your account, those being dedicated, dynamic and cloud servers.

Required Data Parameters

  • None

Returned Data Parameters

stdClass Object (
  [success] => TRUE/FALSE
  [data] => Array(
    [0] => stdClass Object(
      [status] => Server status (online,offline,provisioning).
      [serverid] => Server ID number.
      [os] => Currently installed operating system.
      [hostname] => Server host name, as in "leap.singlehop.com".
      [ram] => Amount of RAM and type installed.
      [type] => Type of server (server,vmnode,vm).
      [cputype] => Type of CPU that is currently installed.
      [cpuspeed] => Speed of the CPU in GHz.
    )
  )
)


/server/view

Required Data Parameters Returned Data Parameters

Dedicated Server Only Commands

/server/view/SERVERID

Dynamic Server Only Commands

Private/Public Cloud Only Commands

Personal tools