Get Virtualizor

List ISO

Use List ISO API to get all available ISO on your server.

HTTP Request

https://hostname:4083/index.php?act=euiso&svs=VPSID

Parameters

NameTypeValueDescriptionRequired
actGETeuisoThe action which will return data belonging to a particular pageYes
svsPOSTVPSIDProvide vpsid of which you want the ISO information.Yes

Sample Code

PHP

<?php
    require_once('/usr/local/virtualizor/sdk/enduser.php');
    $key =  'your_api_key';
    $pass = 'your_api_pass';
    $ip = 'host_ip';

    $v = new Virtualizor_Enduser_API($ip, $key, $pass);
	
    $vid = 6710;//vps id
    $vps = $v->listiso($vid);
	
    print_r(json_encode($vps));
?>

Curl

curl -k -L "https://hostname:4083/index.php?act=euiso&svs=6710&do=add&api=json&apikey=your_api_key&apipass=your_api_pass"

Output

{
   "uid":"600",
   "act":"euiso",
   "timezone":2,
   "timenow":"July 24, 2019, 2:31 pm",
   "vpsid":6710,
   "username":"a@a.com",
   "user_type":"2",
   "preferences":{
      "theme":"default",
      "language":"english",
      "timezone":2
   },
   "url":"index.php?",
   "rdns":{
      "pdnsid":null
   },
   "support_link":"http:\/\/softaculous.com",
   "enable_eu_iso":1,
   "billing_symbol":"$",
   "enable_registration":0,
   "inhouse_billing":"0",
   "title":"KVMTestServer",
   "euiso_auto_del":"ISO(s) will be automatically deleted after 1 Hour from the time the ISO(s) were added",
   "isos":{
      "vdyuqatuicmvnlek":{
         "isoid":"23",
         "uuid":"vdyuqatuicmvnlek",
         "uid":"600",
         "pid":"0",
         "iso":"mini.iso",
         "size":"2286",
         "downloaded":"73766",
         "download_time":"24-07-2019 | 14:27:28",
         "deleted":"0",
         "active":"0",
         "distro":"others"
      }
   },
   "time_taken":"0.093"
}
    Was this page helpful?
    Newsletter Subscription
    Subscribing you to the mailing list