Skip to content

Functions

Reboot virtual server

Function .............. : Reboot virtual server

Action ................ : reboot

Method ................ : GET or POST

Returned values ....... : \success\

\rebooted\

Boot virtual server

Function .............. : Boot virtual server

Action ................ : boot

Method ................ : GET or POST

Returned values ....... : \success\

\booted\

Shutdown virtual server

Function .............. : Shutdown virtual server

Action ................ : shutdown

Method ................ : GET or POST

Returned values ....... : \success\

\shutdown\

Virtual server status

Function .............. : Get virtual server status

Action ................ : status

Method ................ : GET or POST

Returned values ....... : \success\

\online|offline\

Virtual server information

Function .............. : Get virtual server information. Setting any flag to true will return the result.

Action ................ : info

Method ................ : GET or POST

Flags ................. : ipaddr (Returns a list of ipaddresses)

hdd (Returns the hard disk usage in Bytes)

mem (Returns the memory usage in Bytes)

bw (Returns the bandwidth usage in Bytes)

Returned values ....... : \123.123.123.123,122.122.122.122,111.111.111.111\

\total,used,free,percentused\

\total,used,free,percentused\

\total,used,free,percentused\

Extras

The following is returned on a success status:

\[hostname]\

\[mainipaddress]\

You can specify the status to be returned on any of the queries by adding status=true to the query. The returned data will contain:

\online|offline\