For API access you need API KEY First. For getting API KEY you need to open a support Ticket to Support Department.

HTTP CALL https://www.vpsocean.com/index.php/api/vpsstatus/API_KEY/IP
HTTP Response {"success":true,"results":1,"result":"online"}
HTTP CALL https://www.vpsocean.com/index.php/api/vpsoff/API_KEY/IP
HTTP Response {"success":true,"results":1,"result":"Chassis Power Control: Up\/On"}
HTTP CALL https://www.vpsocean.com/index.php/api/vpson/API_KEY/IP
HTTP Response {"success":true,"results":1,"result":"Chassis Power Control: Up\/On"}
HTTP CALL https://www.vpsocean.com/index.php/api/vpsreboot/API_KEY/IP
HTTP Response {"success":true,"results":1,"result":"Chassis Power Control: Up\/On"}
HTTP CALL https://www.vpsocean.com/index.php/api/vpsoslist/API_KEY/IP
HTTP Response {"success":true,"results":27,"result":[{"name":"CentOS 5 x86","value":"centos-5-x86"},{"name":"CentOS 5 x86_64","value":"centos-5-x86_64"},{"name":"CentOS 6 x86","value":"centos-6-x86"},{"name":"CentOS 6 x86_64","value":"centos-6-x86_64"},{"name":"CentOS 7 x86_64","value":"centos-7-x86_64"},{"name":"Debian 5 x86","value":"debian-5-x86"},{"name":"Debian 5 x86_64","value":"debian-5-x86_64"},{"name":"Debian 6 x86","value":"debian-6-x86"},{"name":"Debian 6 x86_64","value":"debian-6-x86_64"},{"name":"Debian 7 x86","value":"debian-7-x86"},{"name":"Debian 7 x86_64","value":"debian-7-x86_64"},{"name":"Ubuntu 12.04 x86","value":"ubuntu-12.04-x86"},{"name":"Ubuntu 12.04 x86_64","value":"ubuntu-12.04-x86_64"},{"name":"Ubuntu 14.04 x86","value":"ubuntu-14.04-x86"},{"name":"Ubuntu 14.04 x86_64","value":"ubuntu-14.04-x86_64"},{"name":"Fedora 18 x86","value":"fedora-18-x86"},{"name":"Fedora 18 x86_64","value":"fedora-18-x86_64"},{"name":"Fedora 19 x86","value":"fedora-19-x86"},{"name":"Fedora 19 x86_64","value":"fedora-19-x86_64"},{"name":"Fedora 20 x86","value":"fedora-20-x86"},{"name":"Fedora 20 x86_64","value":"fedora-20-x86_64"},{"name":"OpenSUSE 11.4 x86","value":"opensuse-11.4-x86"},{"name":"OpenSUSE 11.4 x86_64","value":"opensuse-11.4-x86_64"},{"name":"OpenSUSE 12.3 x86","value":"opensuse-12.3-x86"},{"name":"OpenSUSE 12.3 x86_64","value":"opensuse-12.3-x86_64"},{"name":"OpenSUSE 13.1 x86","value":"opensuse-13.1-x86"},{"name":"OpenSUSE 13.1 x86_64","value":"opensuse-13.1-x86_64"}]}
HTTP CALL https://www.vpsocean.com/index.php/api/vpsosreload/API_KEY/IP/OS
HTTP Response {"success":true,"results":1,"result":"Reload OS Success"}
HTTP CALL https://www.vpsocean.com/index.php/api/vpsosreload/API_KEY/IP
HTTP Response {"success":true,"results":7,"result":{"node":"XXDDSSRRE","status":"Online","type":"Openvz","memory":"1428.85 \/ 3072.00","harddisk":"32.60 \/ 160.00","bandwidth":"105.83 \/ 5000.00","ipaddr":["192.168.223.224","192.168.102.22","192.168.102.239","2605:f700:40:400::42b1:b364","2605:f700:40:400::9328:a285","2605:f700:40:400::702b:fc17"]}}
To Top