compute

GET /v1/compute/servers/{serverId}/backups

A server's automatic backup arrangement.

Lahat ng compute endpoint

Pagpapatotoo

Magpadala ng API key bilang isang bearer token. Kailangang taglayin ng key ang pahintulot na sites.view; ang key na wala nito ay tatanggihan gamit ang 403, hindi 404.

Ang endpoint na ito ay hindi nangangailangan ng id ng organisasyon. Natutukoy na ng iyong key ang organisasyong kinabibilangan nito, at nakatuon ang tugon dito.

Subukan ito

Palitan ang anuman sa loob ng mga panaklong na may anggulo ng iyong sariling mga halaga, at ang placeholder ng key na may key mula sa iyong dashboard.

curl -X GET https://api.zinndigital.com/v1/compute/servers/{serverId}/backups \
  -H "Authorization: Bearer zdk_live_…"

Nakalagda? Ang API console sa iyong dashboard ay awtomatikong naglalagay ng iyong tunay na ID ng organisasyon at sariling susi, at pinapatakbo ang kahilingan laban sa live na API upang makita mo ang aktwal na tugon. Buksan ang endpoint na ito sa console ng API

Mga Detalye

Whether the provider is backing this machine up, which tier it is on, when backups run and how many are kept. ⛔⛔ **Read `manageable` before rendering a control.** The two ranges differ: on the resold range the tier is readable and there is no verb to change it, so the honest surface is a statement and an upgrade route; on our own cloud it is a switch. A client that assumed it could always write would show half the estate a toggle that fails. Requires `sites.view`.

Mga Parameter

PangalanUriKailanganAno ito
serverId (path)UuidOoThe server's id, as `listComputeServers` reports it. **Ours** (UUIDv7), minted when the order row was written — never the provider's own identifier for the machine.

Tugon

PangalanUriKailanganAno ito
enabledbooleanOoWhether the provider takes automatic backups of this machine.
manageablebooleanOoWhether **we** can change that through an API. `false` means the customer has a real backup arrangement we can describe and cannot alter — render a statement, not a switch.
tierstringOoThe provider's own name for the tier, verbatim and untranslated, or `""`. ⛔ Never round it to a boolean: "which tier am I on" and "are backups on" are different questions, and a…
windowstringOoThe daily window backups are taken in, as stated (`"22-02"`), or `""`.
retainedintegerOoHow many restore points are kept. `null` when unknown — never `0` as a guess, because "we keep none" is a different promise.
price_minorintegerOoWhat **we** charge per month to keep this on, in integer minor units of `price_currency`. ⛔⛔ `null` means *we cannot state a price for this machine* — the truth on the resold ra…
price_currencystringOoISO-4217 code for `price_minor`, or `""` exactly when that is `null`.

Mga error na maibabalik ng endpoint na ito

401 · 403 · 404 · 422 · 429 · 503