compute

GET /v1/compute/eligibility

Whether this organisation may buy a machine on our own cloud.

Tüm compute uç noktaları

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.

Kurum kimliğinizin yazılacağı yer

Bu uç nokta, org_id parametresini bir sorgu parametresi olarak alır. Bu parametreyi dışarıda bırakırsanız çağrı tüm kiracı alt ağacınızı kapsar; çağrıyı tek bir kuruluşa daraltmak için gönderin.

Kuruluş kimliğiniz (id), kontrol panelinizdeki API anahtarları ekranında, anahtarın hemen yanında yer alır. Yaptığınız her çağrıda aynı kimlik kullanı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/eligibility \
  -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

Machines on **our own** infrastructure need a one-off verification before the first order. We are the account holder of record for that range, so a complaint about what a customer runs arrives at us — and there is no per-customer isolation at the provider, which means one abusive machine can suspend the whole account. ⛔ Four states, not a boolean. `not_requested` and `rejected` both refuse an order and the customer's next action is completely different: one is "tell us who you are" and the other is "we have decided, and here is why". Requires `sites.view`.

Parametreler

AdTürZorunluNe olduğu
org_id (query)UuidHayır

Yanıt

AdTürZorunluNe olduğu
statestring<not_requested, pending, verified, rejected>Evet⛔ Four states, not a boolean. `not_requested` and `rejected` both refuse an order and the customer's next action differs completely: one is "tell us who you are", the other is "…
may_orderbooleanEvetTrue only in `verified`. Read this rather than re-deriving it from `state`.
legal_namestringEvetThe legal name of whoever is responsible for the machines.
countrystringEvetISO-3166-1 alpha-2 country of the person or the incorporation.
company_numberstringEvetCompany registration number, or `""` for an individual — a real answer.
abuse_contact_emailstringEvetA monitored address an abuse report can be forwarded to and answered from. We are the account holder of record, so a complaint reaches us first and has to reach the customer wit…
intended_usestringEvetWhat the customer says the machines are for, in their own words.
rejection_reasonstringEvetShown to the customer **verbatim** when `state` is `rejected`.
submitted_atstringEvet
reviewed_atstringEvet

Bu uç noktanın dönderebileceği hatalar

401 · 403 · 422 · 429