Skip to content

VNC Info

Supported Versions Last Updated
1.2.00 & higher
json output 1.14.00 & higher
2014/07/29
Action vserver-vnc
Method GET, POST
Variables

vserverid [id of virtual server]

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></statusmsg>

<type>kvm|hvm</type>

<vncip>ip of host</vncip>

<vncport>vncport</vncport>

<vncpassword>vnc password</vncpassword>

<sockethost>socket host</sockethost>

<socketport>socket port</socketport>

<socketpassword>socket password</socketpassword>

<sockethash>socket hash</sockethash>

Error:

 <status>error</status>

<statusmsg>ERROR MESSAGE</statusmsg>

JSON

Success:

 {

"status":"success",

"statusmsg":"",

"type":"kvm|hvm",

"vncip":"ip of hos",

"vncport":"vncport",

"vncpassword":"vnc password",

"sockethost":"socket host",

"socketport":"socket port",

"socketpassword":"socket password",

"sockethash":"socket hash"

}

Error:

 {"status":"error","statusmsg":"ERROR MESSAGE"}