VirtFusion Global API
  1. Servers
VirtFusion Global API
  • General
    • Test connection
      GET
  • Hypervisors
    • Retrieve hypervisors
      GET
    • Retrive a Hypervisor
      GET
  • Hypervisor Groups
    • Retrieve hypervisor groups
      GET
    • Retrieve a hypervisor group
      GET
    • Retrieve a hypervisor groups resources
      GET
  • Servers
    • Network
      • Firewall
        • Disable firewall
        • Enable firewall
        • Retrieve firewall
        • Apply firewall rulesets
      • Add an address to the whitelist
      • Remove an address from the whitelist
      • Add a quantity of IPv4 addresses
      • Add an array of IPv4 addresses
      • Remove an array of IPv4 addresses
    • Power
      • Boot a server
      • Shutdown a server
      • Restart a server
      • Poweroff a server
    • Traffic
      • Add a traffic block to a server
      • Remove a traffic block from a server
      • Retrieve a servers traffic blocks
    • Retrieve a server
      GET
    • Add, remove or modify a backup plan
      PUT
    • Build a server
      POST
    • Change a server package
      PUT
    • Create a server
      POST
    • Delete a server
      DELETE
    • Retrieve servers
      GET
    • Modify a server name
      PUT
    • Reset a server password
      POST
    • Retrieve a users servers
      GET
    • Retrieve OS templates available to a server
      GET
    • Suspend a server
      POST
    • Throttle a servers CPU
      PUT
    • Retrieve a servers traffic statistics
      GET
    • Unsuspend a server
      POST
    • Enable or disable VNC for a server
      POST
    • Change Owner
      PUT
    • Modify primary traffic allowance
      PUT
  • IP Blocks
    • Add an IPv4 range to an IP block
    • Retrieve IP blocks
    • Retrieve an IP block
  • Backups
    • Retrieve a server backups
  • DNS
    • Retrieve a DNS service
  • Media
    • Retrieve an ISO
    • Retrieve operating system templates that are available for a package
  • Packages
    • Retrieve packages
    • Retrieve a packge
  • Queue & Tasks
    • Retrieve a queue item
  • SSH Keys
    • Add an SSH key to a user account
    • Delete an SSH key from a user
    • Retrieve a users SSH keys
    • Retrieve an SSH key
  • Users
    • External Relational ID
      • Delete a user
      • Generate a set of login tokens
      • Generate a set of loging tokens using a server ID
      • Modify a user
      • Change a user passowrd
      • Retrieve a user
    • Create a user
  • Self Service
    • External Relational ID
      • Add credit to user
      • Add an hourly group profile to a user
      • Add a resource group profile to a user
      • Add a resource pack to a user
      • Retrieve hourly statistics
      • Modify user access
      • Remove hourly group profile from a user
      • Remove resource group from a user
      • Generate a report
      • Set an hourly resource pack
      • Retrieve a users usage
    • Cancel credit that was applied to a user
    • Delete all servers attached to a pack ID
    • Delete a user resource pack
    • Retrieve a user resource pack
    • Modify user resource pack
    • Retrieve currencies
    • Suspend all servers assigned to a reosurce pack
    • Unsuspend all servers assigned to a reosurce pack
  1. Servers

Retrieve OS templates available to a server

Developing
GET
/servers/{serverId}/templates

Request

Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
Path Params

Request samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET '/servers/69/templates'

Responses

🟢200Success
application/json
Body

Example
{
    "data": [
        {
            "name": "Debian",
            "description": "Debian GNU/Linux, is a Linux distribution composed of free and open-source software, developed by the community-supported Debian Project.",
            "icon": "debian_logo.png",
            "templates": [
                {
                    "id": 8,
                    "name": "Debian",
                    "version": "11 (Bullseye)",
                    "variant": "Minimal",
                    "arch": 1,
                    "description": "Minimal installation with limited packages. New packages are easily installed using Advanced Package Tool (APT), the main command-line package manager for Debian.",
                    "icon": "debian_logo.png",
                    "eol": false,
                    "eol_date": "2024-03-12 00:00:00",
                    "eol_warning": false,
                    "deploy_type": 1,
                    "vnc": false,
                    "type": "linux"
                },
                {
                    "id": 46,
                    "name": "Debian",
                    "version": "12 (Bookworm)",
                    "variant": "Minimal",
                    "arch": 1,
                    "description": "Minimal installation with limited packages. New packages are easily installed using Advanced Package Tool (APT), the main command-line package manager for Debian.",
                    "icon": "debian_logo.png",
                    "eol": false,
                    "eol_date": "2024-04-23 00:00:00",
                    "eol_warning": false,
                    "deploy_type": 1,
                    "vnc": false,
                    "type": "linux"
                },
                {
                    "id": 56,
                    "name": "Debian",
                    "version": "12 (Bookworm)",
                    "variant": "Test",
                    "arch": 1,
                    "description": "Minimal installation with limited packages. New packages are easily installed using Advanced Package Tool (APT), the main command-line package manager for Debian.",
                    "icon": "debian_logo.png",
                    "eol": false,
                    "eol_date": "2024-04-23 00:00:00",
                    "eol_warning": false,
                    "deploy_type": 1,
                    "vnc": true,
                    "type": "linux"
                }
            ],
            "id": 1
        },
        {
            "name": "CentOS",
            "description": "The CentOS Linux distribution is a stable, predictable, manageable and reproducible platform derived from the sources of Red Hat Enterprise Linux (RHEL).",
            "icon": "centos_logo.png",
            "templates": [
                {
                    "id": 1,
                    "name": "CentOS",
                    "version": "7",
                    "variant": "Minimal",
                    "arch": 1,
                    "description": "Minimal installation with limited packages. New packages are easily installed using Yum, the main command-line package manager for CentOS.",
                    "icon": "centos_logo.png",
                    "eol": false,
                    "eol_date": "2024-03-12 00:00:00",
                    "eol_warning": false,
                    "deploy_type": 1,
                    "vnc": false,
                    "type": "linux"
                },
                {
                    "id": 2,
                    "name": "CentOS Stream",
                    "version": "9",
                    "variant": "Minimal",
                    "arch": 1,
                    "description": "Base installation with limited packages. New packages are easily installed using DNF (yum), the main command-line package manager for CentOS.",
                    "icon": "centos_logo.png",
                    "eol": false,
                    "eol_date": "2024-03-12 00:00:00",
                    "eol_warning": false,
                    "deploy_type": 1,
                    "vnc": false,
                    "type": "linux"
                }
            ],
            "id": 2
        },
        {
            "name": "Rocky Linux",
            "description": "Rocky Linux is a community enterprise operating system designed to be 100% bug-for-bug compatible with America's top enterprise Linux distribution now that its downstream partner has shifted direction. It is under intensive development by the community. Rocky Linux is led by Gregory Kurtzer, founder of the CentOS project.",
            "icon": "rocky_linux_logo.png",
            "templates": [
                {
                    "id": 7,
                    "name": "Rocky Linux",
                    "version": "8",
                    "variant": "Minimal",
                    "arch": 1,
                    "description": "Minimal installation with limited packages. New packages are easily installed using DNF (yum), the main command-line package manager for Rocky Linux.",
                    "icon": "rocky_linux_logo.png",
                    "eol": false,
                    "eol_date": "2024-03-12 00:00:00",
                    "eol_warning": false,
                    "deploy_type": 1,
                    "vnc": false,
                    "type": "linux"
                },
                {
                    "id": 13,
                    "name": "Rocky Linux",
                    "version": "9",
                    "variant": "Minimal",
                    "arch": 1,
                    "description": "Minimal installation with limited packages. New packages are easily installed using DNF (yum), the main command-line package manager for Rocky Linux.",
                    "icon": "rocky_linux_logo.png",
                    "eol": false,
                    "eol_date": "2024-03-12 00:00:00",
                    "eol_warning": false,
                    "deploy_type": 1,
                    "vnc": false,
                    "type": "linux"
                }
            ],
            "id": 3
        },
        {
            "name": "AlmaLinux",
            "description": "AlmaLinux OS is an open-source, community-driven project that intends provide and alternative to the CentOS Stable release. AlmaLinux is an OS that is 1:1 binary compatible with RHELĀ® 8 and a global collaborative of the developer community, industry, academia and research which build upon this technology to empower humanity.",
            "icon": "almalinux_logo.png",
            "templates": [
                {
                    "id": 6,
                    "name": "AlmaLinux",
                    "version": "8",
                    "variant": "Minimal",
                    "arch": 1,
                    "description": "Minimal installation with limited packages. New packages are easily installed using DNF (yum), the main command-line package manager for AlmaLinux.",
                    "icon": "almalinux_logo.png",
                    "eol": false,
                    "eol_date": "2024-03-12 00:00:00",
                    "eol_warning": false,
                    "deploy_type": 1,
                    "vnc": false,
                    "type": "linux"
                },
                {
                    "id": 12,
                    "name": "ARM -> AlmaLinux",
                    "version": "9",
                    "variant": "Latest",
                    "arch": 1,
                    "description": "Latest version with base packages. New packages are easily installed using DNF (yum), the main command-line package manager for AlmaLinux.",
                    "icon": "almalinux_logo.png",
                    "eol": false,
                    "eol_date": "2024-03-12 00:00:00",
                    "eol_warning": false,
                    "deploy_type": 1,
                    "vnc": false,
                    "type": "linux"
                }
            ],
            "id": 4
        },
        {
            "name": "Ubuntu",
            "description": "The most popular server Linux in the cloud and data centre, you can rely on Ubuntu Server and its five years of guaranteed free upgrades.",
            "icon": "ubuntu_logo.png",
            "templates": [
                {
                    "id": 3,
                    "name": "Ubuntu Server",
                    "version": "20.04 LTS (Focal Fossa)",
                    "variant": "Minimal",
                    "arch": 1,
                    "description": "Minimal installation with limited packages. New packages are easily installed using Advanced Package Tool (APT), the main command-line package manager for Ubuntu.",
                    "icon": "ubuntu_logo.png",
                    "eol": false,
                    "eol_date": "2024-03-12 00:00:00",
                    "eol_warning": false,
                    "deploy_type": 1,
                    "vnc": false,
                    "type": "linux"
                },
                {
                    "id": 4,
                    "name": "Ubuntu Server",
                    "version": "18.04 LTS (Bionic Beaver)",
                    "variant": "Minimal",
                    "arch": 1,
                    "description": "Minimal installation with limited packages. New packages are easily installed using Advanced Package Tool (APT), the main command-line package manager for Ubuntu.",
                    "icon": "ubuntu_logo.png",
                    "eol": false,
                    "eol_date": "2024-03-12 00:00:00",
                    "eol_warning": false,
                    "deploy_type": 1,
                    "vnc": false,
                    "type": "linux"
                },
                {
                    "id": 9,
                    "name": "Ubuntu Server",
                    "version": "22.04 LTS (Jammy Jellyfish)",
                    "variant": "Minimal",
                    "arch": 1,
                    "description": "Minimal installation with limited packages. New packages are easily installed using Advanced Package Tool (APT), the main command-line package manager for Ubuntu.",
                    "icon": "ubuntu_logo.png",
                    "eol": false,
                    "eol_date": "2024-03-12 00:00:00",
                    "eol_warning": false,
                    "deploy_type": 1,
                    "vnc": false,
                    "type": "linux"
                },
                {
                    "id": 49,
                    "name": "Ubuntu Server",
                    "version": "24.04 LTS (Noble Numbat)",
                    "variant": "Minimal",
                    "arch": 1,
                    "description": "Minimal installation with limited packages. New packages are easily installed using Advanced Package Tool (APT), the main command-line package manager for Ubuntu.",
                    "icon": "ubuntu_logo.png",
                    "eol": false,
                    "eol_date": "2024-04-25 00:00:00",
                    "eol_warning": false,
                    "deploy_type": 1,
                    "vnc": false,
                    "type": "linux"
                }
            ],
            "id": 5
        },
        {
            "name": "Fedora",
            "description": "Fedora Server is a powerful, flexible operating system that includes the best and latest datacenter technologies. It puts you in control of all your infrastructure and services.",
            "icon": "fedora_logo.png",
            "templates": [
                {
                    "id": 11,
                    "name": "Fedora",
                    "version": "37",
                    "variant": "Minimal",
                    "arch": 1,
                    "description": "Minimal installation with limited packages. New packages are easily installed using DNF (yum), the main command-line package manager for Fedora.",
                    "icon": "fedora_logo.png",
                    "eol": false,
                    "eol_date": "2024-03-12 00:00:00",
                    "eol_warning": false,
                    "deploy_type": 1,
                    "vnc": false,
                    "type": "linux"
                },
                {
                    "id": 14,
                    "name": "Fedora",
                    "version": "38",
                    "variant": "Minimal",
                    "arch": 1,
                    "description": "Minimal installation with limited packages. New packages are easily installed using DNF (yum), the main command-line package manager for Fedora.",
                    "icon": "fedora_logo.png",
                    "eol": false,
                    "eol_date": "2024-03-12 00:00:00",
                    "eol_warning": false,
                    "deploy_type": 1,
                    "vnc": false,
                    "type": "linux"
                },
                {
                    "id": 15,
                    "name": "Fedora",
                    "version": "39",
                    "variant": "Minimal",
                    "arch": 1,
                    "description": "Minimal installation with limited packages. New packages are easily installed using DNF (yum), the main command-line package manager for Fedora.",
                    "icon": "fedora_logo.png",
                    "eol": false,
                    "eol_date": "2024-03-12 00:00:00",
                    "eol_warning": false,
                    "deploy_type": 1,
                    "vnc": false,
                    "type": "linux"
                },
                {
                    "id": 59,
                    "name": "Fedora",
                    "version": "41",
                    "variant": "Minimal",
                    "arch": 1,
                    "description": "Minimal installation with limited packages. New packages are easily installed using DNF (yum), the main command-line package manager for Fedora.",
                    "icon": "fedora_logo.png",
                    "eol": false,
                    "eol_date": "2024-12-18 00:00:00",
                    "eol_warning": false,
                    "deploy_type": 1,
                    "vnc": false,
                    "type": "linux"
                }
            ],
            "id": 6
        },
        {
            "name": "FreeBSD",
            "description": "FreeBSD is an operating system used to power modern servers, desktops, and embedded platforms. A large community has continually developed it for more than thirty years. Its advanced networking, security, and storage features have made FreeBSD the platform of choice for many of the busiest web sites and most pervasive embedded networking and storage devices.",
            "icon": "freebsd_logo.png",
            "templates": [
                {
                    "id": 52,
                    "name": "FreeBSD",
                    "version": "13.3",
                    "variant": "Minimal",
                    "arch": 1,
                    "description": "Minimal installation with limited packages.",
                    "icon": "freebsd_logo.png",
                    "eol": false,
                    "eol_date": "2024-05-15 00:00:00",
                    "eol_warning": false,
                    "deploy_type": 1,
                    "vnc": false,
                    "type": "unix"
                },
                {
                    "id": 53,
                    "name": "FreeBSD",
                    "version": "14.0",
                    "variant": "Minimal",
                    "arch": 1,
                    "description": "Minimal installation with limited packages.",
                    "icon": "freebsd_logo.png",
                    "eol": false,
                    "eol_date": "2024-05-15 00:00:00",
                    "eol_warning": false,
                    "deploy_type": 1,
                    "vnc": false,
                    "type": "unix"
                },
                {
                    "id": 55,
                    "name": "FreeBSD",
                    "version": "14.2",
                    "variant": "Minimal",
                    "arch": 1,
                    "description": "Minimal installation with limited packages.",
                    "icon": "freebsd_logo.png",
                    "eol": false,
                    "eol_date": "2024-10-20 00:00:00",
                    "eol_warning": false,
                    "deploy_type": 1,
                    "vnc": true,
                    "type": "unix"
                },
                {
                    "id": 58,
                    "name": "FreeBSD",
                    "version": "13.2",
                    "variant": "Minimal",
                    "arch": 1,
                    "description": "Minimal installation with limited packages.",
                    "icon": "freebsd_logo.png",
                    "eol": false,
                    "eol_date": "2024-12-10 00:00:00",
                    "eol_warning": false,
                    "deploy_type": 1,
                    "vnc": false,
                    "type": "unix"
                }
            ],
            "id": 7
        },
        {
            "name": "Other",
            "description": "",
            "icon": "linux_logo.png",
            "templates": [
                {
                    "id": 5,
                    "name": "openSUSE",
                    "version": "Leap 15",
                    "variant": "Minimal",
                    "arch": 1,
                    "description": "openSUSE is a project that serves to promote the use of free and open-source software.<br><br>Minimal installation with limited packages. New packages are easily installed using Zypper, the main command-line package manager for openSUSE.",
                    "icon": "opensuse_logo.png",
                    "eol": false,
                    "eol_date": "2024-03-12 00:00:00",
                    "eol_warning": false,
                    "deploy_type": 1,
                    "vnc": false,
                    "type": "linux"
                }
            ],
            "id": 0
        }
    ]
}
🟠401401
Modified atĀ 2025-01-20 21:49:10
Previous
Retrieve a users servers
Next
Suspend a server
Built with