VPS.org API

REST API ஆவணமாக்கல்

இயக்க முறைமைகள் API

உங்கள் VPS சேவையகங்களுக்கான கிடைக்கக்கூடிய இயக்க முறைமைகள் மற்றும் விநியோகங்கள் பற்றிய தகவலை மீட்டெடுக்கவும்.

முனைப்புள்ளிகள் 2 endpoints
அடிப்படை பாதை /api/v1/operating-systems
பெறு /api/v1/operating-systems/

அனைத்து இயக்க முறைமைகளையும் பட்டியலிடுங்கள்

VPS சேவையகங்களில் நிறுவக்கூடிய அனைத்து இயங்குதளங்களின் பட்டியலை மீளெடு

வினவல் அளவுருக்கள்

அளபுரு வகை அவசியம் & விவரக்குறிப்புகள்
os_type string இல்லை Filter by OS type: linux, windows
featured boolean இல்லை Show only featured operating systems

மாதிரி கோரிக்கை

cURL
Python
JavaScript
PHP
curl -X GET "https://admin.vps.org/api/v1/operating-systems/" \
  -H "Authorization: Bearer YOUR_API_TOKEN" \
  -H "Content-Type: application/json"
import requests

url = "https://admin.vps.org/api/v1/operating-systems/"
headers = {
    "Authorization": "Bearer YOUR_API_TOKEN",
    "Content-Type": "application/json"
}

response = requests.get(url, headers=headers)
print(response.json())
const response = await fetch('https://admin.vps.org/api/v1/operating-systems/', {
  method: 'GET',
  headers: {
    'Authorization': 'Bearer YOUR_API_TOKEN',
    'Content-Type': 'application/json'
  }
});

const os = await response.json();
console.log(os);
$ch = curl_init('https://admin.vps.org/api/v1/operating-systems/');
curl_setopt($ch, CURLOPT_HTTPHEADER, [
    'Authorization: Bearer YOUR_API_TOKEN',
    'Content-Type: application/json'
]);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);

$response = curl_exec($ch);
$operating_systems = json_decode($response, true);
curl_close($ch);

எடுத்துக்காட்டு பதில்

{
  "count": 12,
  "results": [
    {
      "id": 1,
      "name": "Ubuntu 22.04 LTS",
      "slug": "ubuntu-22-04",
      "version": "22.04",
      "os_type": "linux",
      "distribution": "Ubuntu",
      "architecture": "x86_64",
      "featured": true,
      "available": true,
      "min_disk_gb": 10,
      "description": "Ubuntu 22.04 LTS (Jammy Jellyfish) - Long Term Support until 2027",
      "icon_url": "https://cdn.vps.org/os-icons/ubuntu.svg"
    },
    {
      "id": 2,
      "name": "Debian 12",
      "slug": "debian-12",
      "version": "12",
      "os_type": "linux",
      "distribution": "Debian",
      "architecture": "x86_64",
      "featured": true,
      "available": true,
      "min_disk_gb": 10,
      "description": "Debian 12 (Bookworm) - Stable release",
      "icon_url": "https://cdn.vps.org/os-icons/debian.svg"
    },
    {
      "id": 3,
      "name": "CentOS Stream 9",
      "slug": "centos-stream-9",
      "version": "9",
      "os_type": "linux",
      "distribution": "CentOS",
      "architecture": "x86_64",
      "featured": false,
      "available": true,
      "min_disk_gb": 10,
      "description": "CentOS Stream 9 - Rolling release tracking RHEL development",
      "icon_url": "https://cdn.vps.org/os-icons/centos.svg"
    },
    {
      "id": 4,
      "name": "Fedora 39",
      "slug": "fedora-39",
      "version": "39",
      "os_type": "linux",
      "distribution": "Fedora",
      "architecture": "x86_64",
      "featured": false,
      "available": true,
      "min_disk_gb": 15,
      "description": "Fedora 39 - Cutting-edge Linux distribution",
      "icon_url": "https://cdn.vps.org/os-icons/fedora.svg"
    },
    {
      "id": 5,
      "name": "Rocky Linux 9",
      "slug": "rocky-linux-9",
      "version": "9",
      "os_type": "linux",
      "distribution": "Rocky Linux",
      "architecture": "x86_64",
      "featured": true,
      "available": true,
      "min_disk_gb": 10,
      "description": "Rocky Linux 9 - Enterprise-grade Linux, RHEL compatible",
      "icon_url": "https://cdn.vps.org/os-icons/rocky.svg"
    }
  ]
}

பதில் புலங்கள்

புலங்கள் வகை & விவரக்குறிப்புகள்
id integer Unique operating system identifier
name string Full operating system name with version
slug string URL-friendly OS identifier
version string OS version number
os_type string Operating system type: linux or windows
distribution string Distribution name (Ubuntu, Debian, CentOS, etc.)
architecture string CPU architecture (x86_64, arm64, etc.)
featured boolean Whether OS is featured/recommended
available boolean Whether OS is currently available for installation
min_disk_gb integer Minimum disk space required in gigabytes
description string Brief description of the operating system
icon_url string URL to OS icon/logo image

பதில் நிலை குறியீடுகள்

200 இயக்க முறைமைகளின் பட்டியல் வெற்றிகரமாக மீட்டெடுக்கப்பட்டது.
401 அங்கீகரிக்கப்படாதது - தவறான அங்கீகார டோக்கன் அல்லது காணவில்லை.
பெறு /api/v1/operating-systems/{os_id}/

இயக்க முறைமை விவரங்களை பெறுக

குறிப்பிட்ட இயக்க முறைமை பற்றிய விவரமான தகவல்களை பெறுக.

பாதை அளவுருக்கள்

அளபுரு வகை அவசியம் & விவரக்குறிப்புகள்
os_id integer ஆம் Unique operating system ID

மாதிரி கோரிக்கை

cURL
Python
JavaScript
curl -X GET "https://admin.vps.org/api/v1/operating-systems/1/" \
  -H "Authorization: Bearer YOUR_API_TOKEN" \
  -H "Content-Type: application/json"
import requests

os_id = 1
url = f"https://admin.vps.org/api/v1/operating-systems/{os_id}/"
headers = {
    "Authorization": "Bearer YOUR_API_TOKEN",
    "Content-Type": "application/json"
}

response = requests.get(url, headers=headers)
print(response.json())
const osId = 1;
const response = await fetch(`https://admin.vps.org/api/v1/operating-systems/${osId}/`, {
  method: 'GET',
  headers: {
    'Authorization': 'Bearer YOUR_API_TOKEN',
    'Content-Type': 'application/json'
  }
});

const os = await response.json();
console.log(os);

எடுத்துக்காட்டு பதில்

{
  "id": 1,
  "name": "Ubuntu 22.04 LTS",
  "slug": "ubuntu-22-04",
  "version": "22.04",
  "os_type": "linux",
  "distribution": "Ubuntu",
  "architecture": "x86_64",
  "featured": true,
  "available": true,
  "min_disk_gb": 10,
  "description": "Ubuntu 22.04 LTS (Jammy Jellyfish) - Long Term Support until 2027",
  "icon_url": "https://cdn.vps.org/os-icons/ubuntu.svg",
  "release_date": "2022-04-21",
  "support_end_date": "2027-04-21",
  "default_user": "root",
  "package_manager": "apt",
  "init_system": "systemd",
  "kernel_version": "5.15",
  "features": [
    "Long Term Support (LTS) until 2027",
    "5 years of free security updates",
    "Extended Security Maintenance available",
    "Large community support",
    "Extensive package repository",
    "Cloud-optimized kernel",
    "Regular point releases"
  ],
  "recommended_for": [
    "Web servers (Apache, Nginx)",
    "Application servers",
    "Database servers (MySQL, PostgreSQL)",
    "Docker containers",
    "Kubernetes nodes",
    "Development environments",
    "Production workloads"
  ],
  "installation_notes": [
    "Requires minimum 10GB disk space",
    "SSH enabled by default on port 22",
    "UFW firewall available but not enabled by default",
    "Automatic security updates can be configured",
    "Cloud-init supported for automated setup"
  ]
}

பதில் நிலை குறியீடுகள்

200 Successfully retrieved operating system details
401 அங்கீகரிக்கப்படாதது - தவறான அங்கீகார டோக்கன் அல்லது காணவில்லை.
404 Not Found - Operating system does not exist

Featured Operating Systems

VPS.org பின்வரும் இயக்க முறைமைகளை பெரும்பாலான பயன்பாட்டு வழக்குகளுக்கு பரிந்துரைக்கிறது:

Ubuntu 22.04 LTS
  • Best for: General purpose servers, web hosting
  • Support: Until April 2027
  • Package Manager: APT
  • Why choose: Most popular, extensive documentation, large community
Debian 12
  • Best for: Stability-focused production servers
  • Support: ~5 years
  • Package Manager: APT
  • Why choose: Rock-solid stability, security-focused
Rocky Linux 9
  • Best for: Enterprise applications, RHEL workloads
  • Support: ~10 years
  • Package Manager: DNF/YUM
  • Why choose: RHEL compatible, enterprise-grade
AlmaLinux 9
  • Best for: Enterprise servers, cPanel hosting
  • Support: ~10 years
  • Package Manager: DNF/YUM
  • Why choose: RHEL compatible, backed by CloudLinux

சரியான இயங்குதளத்தை தேர்ந்தெடுப்பது

பயன்பாட்டு வழக்கம்

பயன்பாட்டு வழக்கு பரிந்துரைக்கப்பட்ட இயங்குதளம் காரணம்
Web Hosting Ubuntu 22.04 LTS, Debian 12 Excellent LAMP/LEMP stack support, large community
Docker/Containers Ubuntu 22.04 LTS, Debian 12 Native Docker support, optimized kernels
Enterprise Apps Rocky Linux 9, AlmaLinux 9 RHEL compatibility, long support cycles
Development Ubuntu 22.04 LTS, Fedora 39 Latest packages, developer-friendly tools
Database Servers Debian 12, Rocky Linux 9 Stability, performance, long-term support
cPanel Hosting AlmaLinux 9, Rocky Linux 9 Official cPanel support

அனுபவ நிலை

தேர்வு செய்ய உதவ வேண்டும்? எங்கள் ஆதரவு குழுவை தொடர்பு கொள்ளவும் hello@vps.org உங்கள் குறிப்பிட்ட தேவைகளை அடிப்படையாகக் கொண்ட தனிப்பட்ட இயங்குதள பரிந்துரைகளுக்கு.

நிறுவுக & அமை

இயங்குதள நிறுவலில் என்ன நடக்கிறது

  1. பிம்ப தேர்வு: எங்கள் கிடங்கிலிருந்து இயங்குதள வார்ப்புரு தேர்ந்தெடுக்கப்பட்டது
  2. வட்டுப் பிரித்தல்: திட்ட அளவை அடிப்படையாகக் கொண்ட தானாகப் பிரித்தல்
  3. அடிப்படை நிறுவுக: Core OS தொகுப்புகள் நிறுவப்பட்டுள்ளன (5-10 நிமிடங்கள்)
  4. பிணைய அமைப்பு: IP முகவரி, DNS, மற்றும் நுழைவாயில் வடிவமைக்கப்பட்டுள்ளதுName
  5. SSH அமைப்பு: SSH சேவையகம் துறை 22 ல் செயல்படுத்தப்பட்டது
  6. மூல அணுகல்: root கடவுச்சொல் மின்னஞ்சல் மூலம் அனுப்பப்பட்டது
  7. மேக- துவக்கம்: முதன்மை வடிவமைப்பு பயன்படுத்தப்பட்டது (உதவி இருந்தால்)

நிறுவலுக்குப் பின் எடுக்க வேண்டிய நடவடிக்கைகள்

முன்னிருப்பு அடையாளங்கள்

முக்கியமானது: சேவையகத்தை உருவாக்கியவுடன், உங்கள் பதிவு செய்யப்பட்ட மின்னஞ்சல் முகவரிக்கு ரூட் அடையாளங்கள் அனுப்பப்படும். பாதுகாப்புக்காக முதலில் நுழைந்தவுடன் முன்னிருப்பு கடவுச்சொல்லை மாற்றவும்.

ஆவணப்படுத்தல்

இயங்குதள-குறிப்பான அமைப்பு வழிகாட்டிகளுக்கு, எங்கள் ஆவணமாக்கல் மையம்: