compute
GET /v1/compute/vps/quote
What one configured VPS costs, itemised.
Tabbatar da Asali
Aika maɓallin API azaman alamar ɗauka (bearer token). Dole ne maɓallin ya kasance yana da izinin sites.view; idan babu shi, za a ƙi amfani da maɓallin tare da lambar 403, ba 404 ba.
Wannan wurin ƙarewa ba ya buƙatar ID na ƙungiya. Maɓallin ku ya riga ya gano ƙungiyar da yake ciki, kuma an iyakance amsa a kanta.
Gwada
May gurbin komai da ke cikin kusurwa da ƙimar ka, kuma may gurbin maballi da maballi daga allon sarrafa ka.
curl -X GET https://api.zinndigital.com/v1/compute/vps/quote?size=<size> \
-H "Authorization: Bearer zdk_live_…"An shiga? Na'urar sarrafa API da ke cikin sashin kulawarka tana cika ainihin lambar ƙungiyarka da maɓallinka naka, sannan tana gudanar da buƙatar a kan ainihin API don haka zaka iya ganin amsar gaske. Buɗe wannan tashar a cikin na'urar kula da API
Bayani
A **pure read** - it opens no transport, writes nothing and charges nothing. The order screen calls it on every change so the customer sees the real total before committing, rather than a machine price that grows at checkout once the options are applied. ⛔ The machine's own figure comes from its **plan**, never from the add-on catalogue. Two sources for one price is how a configurator and a checkout come to disagree. Requires `sites.view`.
Sigogi
| Suna | Nau'i | Ana buƙata | Abin da yake |
|---|---|---|---|
size (query) | string | Eh | The vendor's machine token (`vps-a` … `vps-i`). |
interval (query) | string<monthly, yearly> | A'a | — |
image (query) | string | A'a | The operating-system token. Only Windows carries a price. |
cpanel (query) | string | A'a | A cPanel licence (`cpaneladmin`, `cpanelpro`, `cpanelplus`, `cpanelpremier`). |
backup (query) | boolean | A'a | — |
disk_gb (query) | integer | A'a | An additional disk in GB. 50-250 in tens, 250-1000 in fifties, 1000-2000 in hundreds. |
Martani
| Suna | Nau'i | Ana buƙata | Abin da yake |
|---|---|---|---|
data | ComputeVpsQuote | Eh | One configured VPS, itemised. Every figure is integer minor units of `currency`; `total_minor` is the sum and is the number to show the customer. |
Kuskuren da wannan matsaya za ta iya maido wa
401 · 403 · 422 · 429