compute

GET /v1/compute/vps/options

The paid options a VPS of a given size can carry.

تمام compute اینڈ پوائنٹس

توثيقِ شناخت

ایک بیرر ٹوکن کے طور پر ایک API کی بھیجیں۔ کی کے پاس sites.view اجازت ہونی چاہیے؛ اس کے بغیر کی کو 404 کے بجائے 403 کے ساتھ مسترد کر دیا جاتا ہے۔

یہ اینڈ پوائنٹ کوئی آرگنائزیشن آئی ڈی نہیں لیتا۔ آپ کی کلید پہلے ہی اس آرگنائزیشن کی شناخت کرتی ہے جس سے یہ تعلق رکھتی ہے، اور اس کا جواب اسی کے مطابق محدود ہوتا ہے۔

آزمائیں

کوئی بھی چیز جو زاویہ دار قوسین میں ہو اسے اپنی اقدار سے بدلیں، اور کلیدی پلیس ہولڈر کو اپنے ڈیش بورڈ کی کسی کلید سے بدلیں۔

curl -X GET https://api.zinndigital.com/v1/compute/vps/options?size=<size> \
  -H "Authorization: Bearer zdk_live_…"

لاگ ان ہیں؟ آپ کے ڈیش بورڈ میں موجود API کنسول آپ کی حقیقی تنظیم کی آئی ڈی اور آپ کی اپنی کلید خود بخود پُر کر دیتا ہے، اور لائیو API پر درخواست چلاتا ہے تاکہ آپ اصل ردعمل دیکھ سکیں۔ اس اینڈ پوائنٹ کو API کنسول میں کھولیں

تفصیلات

cPanel licences, backup tiers and additional disks, **already filtered to what this machine size can actually take** — with our price on each, in integer minor units. ⛔⛔ **Filtered, not merely listed, and the filtering is the point.** this platform refuses cPanel below 2 GB of memory and price backups per machine size, so an unfiltered menu is a set of choices the vendor rejects *after* the customer has configured and paid. Their own order form disables exactly these; this endpoint is how ours does the same. ⛔ `resizable` is `false` on this range and its `resize_reason` says why: this platform publishes no operation that changes a VPS's processor or memory after purchase. Disk, cPanel and backups are all separately purchasable; the machine itself is not. Requires `sites.view`.

پیرامیٹرز

نامقسملازمییہ کیا ہے
size (query)stringہاںThe vendor's machine token (`vps-a` … `vps-i`).

جواب

نامقسملازمییہ کیا ہے
dataComputeVpsOptionsہاںThe paid options a VPS of one size can carry, grouped by kind.

وہ خرابیان جو یہ اینڈ پوائنٹ واپس کر سکتا ہے

401 · 403 · 422 · 429