compute

GET /v1/compute/vps/quote

What one configured VPS costs, itemised.

Gbogbo àwọn compute endpoints

Ìfàṣẹ́pọ̀

Fi bọ́ọ̀lù (bearer token) ranṣẹ gẹ́gẹ́ bí kọ́kọ́rọ́ API. Kọ́kọ́rọ́ náà gbọ́dọ̀ ní ìyọ̀ǹda sites.view; a ó kọ̀ ọ́ silẹ pẹlu 403, kii ṣe 404, ti kọ́kọ́rọ́ náà kò bá ní i.

Ojú abánisọ̀rọ̀ yìí kò gba id ajọ kankan. Kọ́kọ́rọ́ rẹ ti mọ ajọ ti o jẹ ti e, a o si fèsì nipa rẹ̀.

Gbiyanju rẹ

Rọ́pọ̀ èyíkéyìí nínú àwọn àmì ìtọ́ka < > pẹ̀lú iye tirẹ̀, àti àmì ìdánimọ̀ bọ́tìnnì náà pẹ̀lú bọ́tìnnì kan láti inú dásibọ̀ọ̀dù rẹ.

curl -X GET https://api.zinndigital.com/v1/compute/vps/quote?size=<size> \
  -H "Authorization: Bearer zdk_live_…"

Ṣé o ti wọlé? Iwọ̀n api ní nú ìgbékalẹ̀ rẹ kún id àjọ gidi rẹ ati bọtini tirẹ, o si nṣiṣẹ ibeere na lòdì si api gidi ki o le rii esi gidi na. Ṣí ojú abáná yìí sílẹ̀ nínú kọnsólù API

Àwọn kúlẹ̀kúlẹ̀

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

Àwọn ìpìlẹ̀

OrúkọIruTí a nílòKini o jẹ
size (query)stringBẹẹniThe vendor's machine token (`vps-a` … `vps-i`).
interval (query)string<monthly, yearly>Bẹẹkọ
image (query)stringBẹẹkọThe operating-system token. Only Windows carries a price.
cpanel (query)stringBẹẹkọA cPanel licence (`cpaneladmin`, `cpanelpro`, `cpanelplus`, `cpanelpremier`).
backup (query)booleanBẹẹkọ
disk_gb (query)integerBẹẹkọAn additional disk in GB. 50-250 in tens, 250-1000 in fifties, 1000-2000 in hundreds.

Idahun

OrúkọIruTí a nílòKini o jẹ
dataComputeVpsQuoteBẹẹniOne configured VPS, itemised. Every figure is integer minor units of `currency`; `total_minor` is the sum and is the number to show the customer.

Awọn aṣiṣe ti ibudo ipari yii le da pada

401 · 403 · 422 · 429