compute
GET /v1/compute/eligibility
Whether this organisation may buy a machine on our own cloud.
စစ်မှန်ကြောင်း အတည်ပြုခြင်း
API သော့တစ်ခုကို bearer token အဖြစ် ပို့ပါ။ သော့တွင် sites.view ခွင့်ပြုချက် ပါရှိရမည်ဖြစ်ပြီး၊ ၎င်းမပါရှိသော သော့ကို 404 အစား 403 ဖြင့် ငြင်းပယ်ပါမည်။
သင့်အဖွဲ့အစည်း၏ id ထည့်သွင်းရမည့်နေရာ
ဤအစွန်အဖျား (endpoint) သည် org_id ကို မေးမြန်းချက် ကန့်သတ်ဘောင် (query parameter) အဖြစ် လက်ခံပါသည်။ ၎င်းကို ချန်လှပ်ထားပါက ခေါ်ဆိုမှုသည် သင်၏ ငှားရမ်းမှု လက်အောက်ခံသစ်ပင် (tenancy subtree) တစ်ခုလုံးကို လွှမ်းခြုံမည်ဖြစ်ပြီး၊ အဖွဲ့အစည်းတစ်ခုတည်းသို့ ကန့်သတ်ခေါ်ဆိုရန် ၎င်းကို ပေးပို့ပါ။
သင့်အဖွဲ့အစည်း id သည် သင်၏ ဒက်ရှ်ဘုတ်ရှိ API သော့များ မျက်နှာပြင်တွင်၊ သော့၏ ဘေး၌ ရှိပါသည်။ ၎င်းသည် သင်ပြုလုပ်သည့် ခေါ်ဆိုမှုတိုင်းတွင် တူညီသော id ဖြစ်ပါသည်။
စမ်းကြည့်ရန်
ထောင့်ချိတ်များအတွင်းရှိ မည်သည့်အရာကိုမဆို သင်၏ကိုယ်ပိုင်တန်ဖိုးများဖြင့် အစားထိုးပြီး သင့်ဒက်ရှ်ဘုတ်မှ သော့ချက်တစ်ခုဖြင့် key ကို အစားထိုးပါ။
curl -X GET https://api.zinndigital.com/v1/compute/eligibility \
-H "Authorization: Bearer zdk_live_…"ဝင်ရောက်ပြီးပြီလား။ သင့်ဒက်ရှ်ဘုတ်ရှိ API ကွန်ဆိုးလ်တွင် သင့်၏ တကယ့်အဖွဲ့အစည်း ID နှင့် သင့်ကိုယ်ပိုင်သော့ချက်တို့ဖြင့် ဖြည့်သွင်းပေးပြီး တကယ့်တုံ့ပြန်ချက်ကို သင်မြင်နိုင်ရန် တိုက်ရိုက် API (live API) ကို အသုံးပြု၍ တောင်းဆိုမှုကို လုပ်ဆောင်ပေးပါသည်။ ဤအဆုံးသတ်အမှတ် (endpoint) ကို API ကွန်ဆိုးလ်တွင် ဖွင့်ပါ
အသေးစိတ်အချက်အလက်များ
What stands between this organisation and a server on our own cloud (W43-50, owner ruling 2026-09-11): a verified email on an owner and a verified card before the first server; an ID check only when a fraud signal fires (or staff ask for one); and limits on what a new account may run — servers, vCPUs and committed monthly spend. blockers lists what is missing in the order the customer can act on it and may_order is true exactly when it is empty. ⛔ The signals that raised an ID check are deliberately absent: telling an applicant which detector fired tells a fraudster which input to change. Reading this may record a newly fired signal. Requires sites.view.
ကန့်သတ်ဘောင်များ
| နာမည် | အမျိုးအစား | လိုအပ်သည် | ဘာလဲဆိုတာ |
|---|---|---|---|
org_id (query) | Uuid | မဟုတ်ပါ | — |
တုံ့ပြန်ချက်
| နာမည် | အမျိုးအစား | လိုအပ်သည် | ဘာလဲဆိုတာ |
|---|---|---|---|
state | string<not_requested, pending, verified, rejected> | ဟုတ်ကဲ့ | The ID check's own state. ⛔ Four states, not a boolean: not_requested and rejected differ completely — one is "tell us who you are" (only when id_check_required), the other… |
blockers | string<email_unverified, card_required, id_check_required, id_check_pending, id_check_rejected>[] | ဟုတ်ကဲ့ | What stands between the account and a server, in the order it can act on them. Empty exactly when may_order is true. |
email_verified | boolean | ဟုတ်ကဲ့ | Whether an owner of the organisation has a verified email address. |
card_verified | boolean | ဟုတ်ကဲ့ | Whether a card confirmed with the issuer (a succeeded setup) is on the account, in date and chargeable. A PayPal agreement or a crypto balance is not a card. |
id_check_required | boolean | ဟုတ်ကဲ့ | Whether an ID check stands between the account and its next server. False for almost every account — it is raised only by a fraud signal or by staff. |
id_document_uploaded | boolean | ဟုတ်ကဲ့ | Whether an identity document has been registered for the check. |
standing | string<new, established, custom> | ဟုတ်ကဲ့ | Which limits apply. new until the account is 30 days old and has paid for something; custom when staff set this account's limits. |
limits | ComputeLimits | ဟုတ်ကဲ့ | What one account may run at once on our cloud. |
usage | ComputeUsage | ဟုတ်ကဲ့ | What the account runs now, measured the way ComputeLimits bounds it. |
may_order | boolean | ဟုတ်ကဲ့ | True exactly when blockers is empty. Read this rather than re-deriving it. |
legal_name | string | ဟုတ်ကဲ့ | The legal name of whoever is responsible for the machines. |
country | string | ဟုတ်ကဲ့ | ISO-3166-1 alpha-2 country of the person or the incorporation. |
company_number | string | ဟုတ်ကဲ့ | Company registration number, or "" for an individual — a real answer. |
abuse_contact_email | string | ဟုတ်ကဲ့ | A 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… |
intended_use | string | ဟုတ်ကဲ့ | What the customer says the machines are for, in their own words. |
rejection_reason | string | ဟုတ်ကဲ့ | Shown to the customer verbatim when state is rejected. |
submitted_at | string | ဟုတ်ကဲ့ | — |
reviewed_at | string | ဟုတ်ကဲ့ | — |
ဤအမှတ်ဆက်မှ ပြန်ပေးနိုင်သော အမှားများ
401 · 403 · 422 · 429