compute
GET /v1/compute/servers/{serverId}/backups
A server's automatic backup arrangement.
प्रमाणन
बेरर टोकन के रूप में एक API कुंजी भेजें। कुंजी के पास sites.view अनुमति होनी चाहिए; इसके बिना एक कुंजी को 404 के बजाय 403 के साथ अस्वीकार कर दिया जाता है।
यह एंडपॉइंट कोई संगठन आईडी नहीं लेता है। आपकी कुंजी पहले से ही उस संगठन की पहचान करती है जिससे वह संबंधित है, और प्रतिक्रिया उसी के दायरे में है।
इसे आज़माएँ
कोणार्कित ब्रैकेट्स में दी गई किसी भी चीज़ को अपने मानों से बदलें, और की प्लेसहोलर को अपने डैशबोर्ड की एक की से बदलें।
curl -X GET https://api.zinndigital.com/v1/compute/servers/{serverId}/backups \
-H "Authorization: Bearer zdk_live_…"साइन इन हैं? आपके डैशबोर्ड में मौजूद API कंसोल आपकी वास्तविक संगठन आईडी और आपकी अपनी कुंजी स्वतः भर देता है, और लाइव 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 an… |
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… |
price_currency | string | हाँ | ISO-4217 code for price_minor, or "" exactly when that is null. |
त्रुटियाँ जो यह एंडपॉइंट लौटा सकता है
401 · 403 · 404 · 422 · 429 · 503