compute
GET /v1/compute/vps/options
The paid options a VPS of a given size can carry.
Kimlik Doğrulama
Bearer token olarak bir API anahtarı gönderin. Anahtar sites.view iznine sahip olmalıdır; bu izne sahip olmayan bir anahtar 404 ile değil, 403 ile reddedilir.
Bu uç nokta hiçbir organizasyon kimliği almaz. Anahtarınız zaten ait olduğu organizasyonu tanımlar ve yanıt bu organizasyonla sınırlandırılır.
Dene
Köşeli parantez içindeki her şeyi kendi değerlerinizle ve anahtar yer tutucusunu panonuzdan bir anahtarla değiştirin.
curl -X GET https://api.zinndigital.com/v1/compute/vps/options?size=<size> \
-H "Authorization: Bearer zdk_live_…"Oturum açtınız mı? Panonuzdaki API konsolu, gerçek organizasyon kimliğinizi ve kendi anahtarınızı otomatik olarak doldurur ve isteği canlı API üzerinde çalıştırarak gerçek yanıtı görmenizi sağlar. Bu uç noktayı API konsolunda açın
Ayrıntılar
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`.
Parametreler
| Ad | Tür | Zorunlu | Ne olduğu |
|---|---|---|---|
size (query) | string | Evet | The vendor's machine token (`vps-a` … `vps-i`). |
Yanıt
| Ad | Tür | Zorunlu | Ne olduğu |
|---|---|---|---|
data | ComputeVpsOptions | Evet | The paid options a VPS of one size can carry, grouped by kind. |
Bu uç noktanın dönderebileceği hatalar
401 · 403 · 422 · 429