compute

GET /v1/compute/vps/options

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

すべての compute エンドポイント

すべての開発者向けドキュメント

認証

ベアラー トークンとして API キーを送信します。キーには sites.view 権限が付与されている必要があります。権限のないキーは 404 ではなく 403 で拒否されます。

このエンドポイントは組織IDを受け付けません。お使いのキーによって所属する組織がすでに特定されており、レスポンスはその組織にスコープされます。

試してみる

アングルブラケット内のすべてをご自身の値に置き換え、キーのプレースホルダーをご利用中のダッシュボードのキーに置き換えてください。

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

ログインしていますか?ダッシュボード内のAPIコンソールでは、実際の組織IDやお客様ご自身のキーが自動入力され、ライブ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-avps-i).

返信

名前タイプ必須これがその内容です
dataComputeVpsOptionsはいThe paid options a VPS of one size can carry, grouped by kind.

このエンドポイントが返すエラー

401 · 403 · 422 · 429