curl --request POST \
--url https://{api_host}/kvm/v2/get/isos \
--header 'Content-Type: application/x-www-form-urlencoded' \
--data signature=session_signature_12345 \
--data kvm_id=kvm_xxxxx_yyyyy \
--data valid_until=1737476000import requests
url = "https://{api_host}/kvm/v2/get/isos"
payload = {
"signature": "session_signature_12345",
"kvm_id": "kvm_xxxxx_yyyyy",
"valid_until": "1737476000"
}
headers = {"Content-Type": "application/x-www-form-urlencoded"}
response = requests.post(url, data=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'Content-Type': 'application/x-www-form-urlencoded'},
body: new URLSearchParams({
signature: 'session_signature_12345',
kvm_id: 'kvm_xxxxx_yyyyy',
valid_until: '1737476000'
})
};
fetch('https://{api_host}/kvm/v2/get/isos', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://{api_host}/kvm/v2/get/isos",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => "signature=session_signature_12345&kvm_id=kvm_xxxxx_yyyyy&valid_until=1737476000",
CURLOPT_HTTPHEADER => [
"Content-Type: application/x-www-form-urlencoded"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://{api_host}/kvm/v2/get/isos"
payload := strings.NewReader("signature=session_signature_12345&kvm_id=kvm_xxxxx_yyyyy&valid_until=1737476000")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Content-Type", "application/x-www-form-urlencoded")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://{api_host}/kvm/v2/get/isos")
.header("Content-Type", "application/x-www-form-urlencoded")
.body("signature=session_signature_12345&kvm_id=kvm_xxxxx_yyyyy&valid_until=1737476000")
.asString();require 'uri'
require 'net/http'
url = URI("https://{api_host}/kvm/v2/get/isos")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Content-Type"] = 'application/x-www-form-urlencoded'
request.body = "signature=session_signature_12345&kvm_id=kvm_xxxxx_yyyyy&valid_until=1737476000"
response = http.request(request)
puts response.read_body{
"data": [
"0_SystemRescue-10.02-amd64.iso",
"Kali-linux-2021.1-installer-netinst-amd64.iso",
"LinuxMint-20.3-Desktop-xfce-64bit.iso",
"MikroTik-RouterOS-6.48.6.iso",
"MikroTik-RouterOS-7.2.iso",
"Windows_Server_2016_RS1_EVAL_x64_ENG.iso",
"Windows_Server_2019_RS5_EVAL_x64_EN-US.iso",
"Windows_Server_2022_EVAL_x64_EN-US.iso",
"netgate-installer-amd64.iso"
],
"status": "success"
}{
"error": "Invalid parameters provided.",
"code": 400
}{
"error": "Invalid or expired session signature.",
"code": 401
}{
"error": "Access to this resource is denied.",
"code": 403
}{
"error": "An unexpected error occurred on the server.",
"code": 500
}ISO Images
This endpoint retrieves a list of available ISO files that can be used for installation on the specified KVM VPS.
The api_host parameter, obtained from the “Create AUTH-session” response,
is dynamically set in the URL.
Provide the signature, kvm_id, and valid_until parameters from the
“Create AUTH-session” response to authenticate the request.
curl --request POST \
--url https://{api_host}/kvm/v2/get/isos \
--header 'Content-Type: application/x-www-form-urlencoded' \
--data signature=session_signature_12345 \
--data kvm_id=kvm_xxxxx_yyyyy \
--data valid_until=1737476000import requests
url = "https://{api_host}/kvm/v2/get/isos"
payload = {
"signature": "session_signature_12345",
"kvm_id": "kvm_xxxxx_yyyyy",
"valid_until": "1737476000"
}
headers = {"Content-Type": "application/x-www-form-urlencoded"}
response = requests.post(url, data=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'Content-Type': 'application/x-www-form-urlencoded'},
body: new URLSearchParams({
signature: 'session_signature_12345',
kvm_id: 'kvm_xxxxx_yyyyy',
valid_until: '1737476000'
})
};
fetch('https://{api_host}/kvm/v2/get/isos', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://{api_host}/kvm/v2/get/isos",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => "signature=session_signature_12345&kvm_id=kvm_xxxxx_yyyyy&valid_until=1737476000",
CURLOPT_HTTPHEADER => [
"Content-Type: application/x-www-form-urlencoded"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://{api_host}/kvm/v2/get/isos"
payload := strings.NewReader("signature=session_signature_12345&kvm_id=kvm_xxxxx_yyyyy&valid_until=1737476000")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Content-Type", "application/x-www-form-urlencoded")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://{api_host}/kvm/v2/get/isos")
.header("Content-Type", "application/x-www-form-urlencoded")
.body("signature=session_signature_12345&kvm_id=kvm_xxxxx_yyyyy&valid_until=1737476000")
.asString();require 'uri'
require 'net/http'
url = URI("https://{api_host}/kvm/v2/get/isos")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Content-Type"] = 'application/x-www-form-urlencoded'
request.body = "signature=session_signature_12345&kvm_id=kvm_xxxxx_yyyyy&valid_until=1737476000"
response = http.request(request)
puts response.read_body{
"data": [
"0_SystemRescue-10.02-amd64.iso",
"Kali-linux-2021.1-installer-netinst-amd64.iso",
"LinuxMint-20.3-Desktop-xfce-64bit.iso",
"MikroTik-RouterOS-6.48.6.iso",
"MikroTik-RouterOS-7.2.iso",
"Windows_Server_2016_RS1_EVAL_x64_ENG.iso",
"Windows_Server_2019_RS5_EVAL_x64_EN-US.iso",
"Windows_Server_2022_EVAL_x64_EN-US.iso",
"netgate-installer-amd64.iso"
],
"status": "success"
}{
"error": "Invalid parameters provided.",
"code": 400
}{
"error": "Invalid or expired session signature.",
"code": 401
}{
"error": "Access to this resource is denied.",
"code": 403
}{
"error": "An unexpected error occurred on the server.",
"code": 500
}Body
Required parameters to retrieve the ISO list.
The session signature obtained from the "Create AUTH-session" call."
"session_signature_12345"
The unique identifier of the KVM."
"kvm_xxxxx_yyyyy"
The expiration timestamp of the session obtained from the "Create AUTH-session" call."
"1737476000"
Response
A list of available ISO files retrieved successfully.
The list of available ISO files.
[
"0_SystemRescue-10.02-amd64.iso",
"Kali-linux-2021.1-installer-netinst-amd64.iso",
"LinuxMint-20.3-Desktop-xfce-64bit.iso",
"MikroTik-RouterOS-6.48.6.iso",
"MikroTik-RouterOS-7.2.iso",
"Windows_Server_2016_RS1_EVAL_x64_ENG.iso",
"Windows_Server_2019_RS5_EVAL_x64_EN-US.iso",
"Windows_Server_2022_EVAL_x64_EN-US.iso",
"netgate-installer-amd64.iso"
]
The status of the request.
"success"
Was this page helpful?