compute

GET /v1/compute/eligibility

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

Barcha compute yakuniy nuqtalari

Autentifikatsiya

API kalitini bearer token sifatida yuboring. Kalit sites.view ruxsatiga ega boʻlishi shart; ruxsatsiz kalit 404 emas, balki 403 xatosi bilan rad etiladi.

Tashkilotingiz identifikatori kiritiladigan joy

Bu soʻrovnoma oxiri org_id parametrini soʻrov parametri sifatida qabul qiladi. Uni kiritmasangiz, chaqiruv butun ijarachi quyi daraxtingizni qamrab oladi; uni bitta tashkilotga cheklash uchun yuboring.

Tashkilotingiz identifikatori boshqaruv panelingizdagi API kalitlari ekranida, kalitning o'z yonida joylashgan. Bu siz amalga oshiradigan har bir so'rovda bir xil identifikator hisoblanadi.

Sinab ko'rish

Qavslardagi har qanday narsani o'z qiymatlaringiz bilan, kalit pleysxolderini эsa boshqaruv panelingizdagi kalit bilan almashtiring.

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

Tizimga kirganmisiz? Boshqaruv panelingizdagi API konsoli haqiqiy tashkilot ID raqamingiz va shaxsiy kalitingizni avtomatik to'ldiradi hamda haqiqiy javobni ko'rishingiz uchun so'rovni jonli API orqali bajaradi. Ushbu yakuniy nuqtani API konsolida oching

Tafsilotlar

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`.

Parametrlar

NomiTuriMajburiyNima bu
org_id (query)UuidYo'q

Javob

NomiTuriMajburiyNima bu
statestring<not_requested, pending, verified, rejected>Ha⛔ 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_orderbooleanHaTrue only in `verified`. Read this rather than re-deriving it from `state`.
legal_namestringHaThe legal name of whoever is responsible for the machines.
countrystringHaISO-3166-1 alpha-2 country of the person or the incorporation.
company_numberstringHaCompany registration number, or `""` for an individual — a real answer.
abuse_contact_emailstringHaA 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_usestringHaWhat the customer says the machines are for, in their own words.
rejection_reasonstringHaShown to the customer **verbatim** when `state` is `rejected`.
submitted_atstringHa
reviewed_atstringHa

Ushbu yakuniy nuqta qaytarishi mumkin bo'lgan xatolar

401 · 403 · 422 · 429