Server

From INAP Dropzone API
(Difference between revisions)
Jump to: navigation, search
(/server/list)
Line 7: Line 7:
 
'''Returned Data Parameters'''
 
'''Returned Data Parameters'''
 
<pre>
 
<pre>
stdClass Object (
+
stdClass Object(
 
   [success] => TRUE/FALSE
 
   [success] => TRUE/FALSE
 
   [data] => Array(
 
   [data] => Array(
Line 23: Line 23:
 
)
 
)
 
</pre>
 
</pre>
 
 
  
 
===/server/view===
 
===/server/view===

Revision as of 17:56, 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