compute

GET /v1/compute/regions

List the cloud regions a machine can be bought in right now.

Bütün compute nöqtələri

Bütün tərtibatçı sənədləri

Doğrulama

API açarını bearer token kimi göndərin. Açar sites.view icazəsinə malik olmalıdır; bu icazəsi olmayan açar 404 deyil, 403 xətası ilə rədd edilir.

Təşkilatınızın identifikatorunun yerləşdiyi yer

Bu son nöqtə sorğu parametri kimi org_id qəbul edir. Onu buraxın və sorğu bütün kirayə alt ağacınızı əhatə etsin; sorğunu bir təşkilatla məhdudlaşdırmaq üçün onu göndərin.

Təşkilatınızın identifikatoru idarə panelinizdəki API açarları ekranında, açarın özünün yanında yerləşir. Bu, etdiyiniz hər bir sorğuda eyni identifikatordur.

Sınaqdan keçir

Bucaqlı mötərizələrdə olan hór şeyi öz qiymətlərinizlə, açar yertutucusunu isə idarə panelinizdən bir açarla əvəz edin.

curl -X GET https://api.zinndigital.com/v1/compute/regions \
  -H "Authorization: Bearer zdk_live_…"

Sistemə daxil olmusunuz? İdarə panelinizdəki API konsolu real təşkilatınızın identifikatorunu və öz açarınızı avtomatik doldurur, sorğunu canlı API-yə qarşı icra edir ki, siz faktiki cavabı görə biləsiniz. Bu son nöqtəni API konsolunda açın

Təfərrüatlar

Every region of the Zinn® Cloud range that is both buildable (the live catalogue lists a machine size there) and sold (an orderable size carries a price there). Either alone is a region a customer could choose and then not buy, so neither is enough on its own. A region is a city identified by slug; the client translates it. zone and provider are echoed only so an order form can send the choice back to POST /v1/compute/servers. Requires sites.view.

Parametrlər

AdTipTələb olunurNədir
org_id (query)UuidXeyrThe organisation to read for. Required only when the caller belongs to more than one; omitted, it is their own.

Cavab

AdTipTələb olunurNədir
dataComputeRegion[]Bəli

Bu son nöqtənin qaytara biləcəyi xətalar

401 · 403 · 422 · 429 · 503