compute

GET /v1/compute/vps/options

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

Всички крайни точки в compute

Всички документи за разработчици

Упълномощаване

Изпратете API ключ като токен за носене. Ключът трябва да притежава разрешението sites.view; ключ без него се отхвърля с 403, а не с 404.

Този ендпойнт не изисква идентификатор на организация. Вашият ключ вече идентифицира организацията, към която принадлежи, и отговорът е ограничен до нея.

Опитайте

Заменете всичко в квадратни скоби със собствени стойности, а ключовия заместващ символ – с ключ от вашето табло за управление.

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

Влязохте ли в профила си? API конзолата във вашето табло за управление попълва действителното идентификационно число на вашата организация и вашия собствен ключ и изпълнява заявката спрямо реалното API, за да можете да видите действителния отговор. Отворете този крайpoint в 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-avps-i).

Отговор

ИмеТипЗадължителноКакво представлява
dataComputeVpsOptionsДаThe paid options a VPS of one size can carry, grouped by kind.

Грешки, които този крайpoint може да върне

401 · 403 · 422 · 429