compute
GET /v1/compute/servers/{serverId}/backups
A server's automatic backup arrangement.
인증
Bearer 토큰으로 API 키를 전송하세요. 키는 반드시 sites.view 권한을 가지고 있어야 하며, 권한이 없는 키는 404가 아닌 403으로 거부됩니다.
이 엔드포인트는 조직 ID를 받지 않습니다. 사용자의 키가 이미 속한 조직을 식별하며, 응답은 해당 조직으로 한정됩니다.
무료 체험하기
대괄호 안에 있는 모든 내용을 사용자 지정 값으로 바꾸고, 키 플레이스홀더는 대시보드의 키로 바꾸세요.
curl -X GET https://api.zinndigital.com/v1/compute/servers/{serverId}/backups \
-H "Authorization: Bearer zdk_live_…"로그인하셨나요? 대시보드의 API 콘솔이 실제 조직 ID와 본인의 키를 자동으로 채우고 라이브 API를 대상으로 요청을 실행하므로 실제 응답을 확인할 수 있습니다. API 콘솔에서 이 엔드포인트를 여세요
상세 정보
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`.
매개변수
| 이름 | 유형 | 필수 | 설명 |
|---|---|---|---|
serverId (path) | Uuid | 예 | The 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. |
응답
| 이름 | 유형 | 필수 | 설명 |
|---|---|---|---|
enabled | boolean | 예 | Whether the provider takes automatic backups of this machine. |
manageable | boolean | 예 | Whether **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. |
tier | string | 예 | The 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… |
window | string | 예 | The daily window backups are taken in, as stated (`"22-02"`), or `""`. |
retained | integer | 예 | How many restore points are kept. `null` when unknown — never `0` as a guess, because "we keep none" is a different promise. |
price_minor | integer | 예 | What **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_currency | string | 예 | ISO-4217 code for `price_minor`, or `""` exactly when that is `null`. |
이 엔드포인트가 반환할 수 있는 오류
401 · 403 · 404 · 422 · 429 · 503