Page tree
Skip to end of metadata
Go to start of metadata
Supported VersionsLast Updated
1.20.05 & higher2018/02/16
Actionvserver-rescue
MethodGET, POST
Variables
rescueenable     [1,2,3] 1 = 4.x kernel 64bit, 2 = 3.x kernel 64bit, 3 = 3.x kernel 32bit
rescuedisable    [true or false]
rdtype           [json] For json output specify json or for default output leave blank. This variable is optional
Example Output

XML

Success:

<status>success</status>

<statusmsg>Rescue mode enabled</statusmsg>

<password>ZkBa5SKtY7MiQT6</password>

<user>root</user>

<port>22</port>

<ip>127.0.0.2</ip>

Error:

<status>error</status>
<statusmsg>ERROR MESSAGE</statusmsg>

JSON

Success:

{

    "status": "success",

    "statusmsg": "Rescue mode enabled",

    "password": "wR4cLl7k7XIb1HQ",

    "user": "root",

    "port": "22",

    "ip": "127.0.0.2"

}

Error:

{"status":"error","statusmsg":"ERROR MESSAGE"}
  • No labels