compute
GET /v1/compute/add-ons
What can be bought to run ON a Zinn® Private Cloud machine.
પ્રમાણીકરણ
એપીઆઈ કી (API key) ને બેરર ટોકન તરીકે મોકલો. કી પાસે sites.view પરવાનગી હોવી આવશ્યક છે; તેના વગરની કીને 404 ને બદલે 403 સાથે અસ્વીકાર કરવામાં આવશે.
આ એન્ડપૉઇન્ટ કોઈ સંસ્થા આઈડી (organisation id) લેતું નથી. તમારી કી (key) પહેલેથી જ તે જે સંસ્થા સાથે સંબંધિત છે તેની ઓળખ કરે છે, અને પ્રતિસાદ (response) તે જ પૂરતો મર્યાદિત છે.
આયમાવો
કોઈપણ કૌંસમાં રહેલી બાબતને તમારા પોતાના મૂલ્યોથી બદલો અને કી પ્લેસહોલ્ડરને તમારા ડેશબોર્ડની કીથી બદલો.
curl -X GET https://api.zinndigital.com/v1/compute/add-ons \
-H "Authorization: Bearer zdk_live_…"साइन ઇન કરેલ છે? તમારા ડેશબોર્ડમાં આવેલું API કન્સોલ તમારી વાસ્તવિક સંસ્થાની આઈડી અને તમારી પોતાની કી ભરે છે, અને લાઇવ API સામે વિનંતી ચલાવે છે જેથી તમે વાસ્તવિક પ્રતિસાદ જોઈ શકો. આ અંતિમબિંદુને API કન્સોલમાં ખોલો
વિગતો
The add-on catalogue — bare, CloudLinux, Plesk, and the managed service — priced in the currency asked for and filtered to what is actually in stock. ⭐ These are the decisions docs/127 §2 took on 2026-08-15 (D1–D5), expressed as rows a customer can buy. They are orthogonal to the machine size: a customer picks a size and an add-on, and the two multiply rather than choosing between each other. What the API calls a ComputeTier elsewhere is the SIZE; this is the software. ⛔ An empty list is the correct answer on the resold range, not an error. There the supplier installs its own managed image and exposes no user_data seam, so there is no add-on question to answer — and rendering a picker with one disabled option would imply the others are coming. ⛔ A row absent from this list in one currency is not sold in that currency, never converted at today's rate: a machine and the add-on beside it must not be quoted from two different sources, or the same basket costs two different amounts on two days. Requires sites.view.
પેરામીટર્સ
| નામ | પ્રકાર | જરૂરી | તે શું છે |
|---|---|---|---|
currency (query) | string | ના | ISO 4217 code to price in. An add-on with no price in it is omitted. |
target (query) | string | ના | The deploy target. Only own_cloud sells add-ons; anything else answers with an empty list. |
જવાબ
| નામ | પ્રકાર | જરૂરી | તે શું છે |
|---|---|---|---|
data | ComputeAddOnOffer[] | હા | — |
આ એન્ડપોઇન્ટ જે ભૂલો પરત કરી શકે છે
401 · 403 · 429