compute
GET /v1/compute/add-ons
What can be bought to run ON a Zinn® Private Cloud machine.
Authentification
Envoyez une clé API en tant que jeton du porteur. La clé doit posséder l'autorisation sites.view ; une clé qui ne l'a pas est refusée avec le code 403, et non 404.
Cet endpoint ne prend aucun identifiant d'organisation. Votre clé identifie déjà l'organisation à laquelle elle appartient, et la réponse y est limitée.
Essayer
Remplacez tout ce qui se trouve entre crochets par vos propres valeurs, et le espace réservé à la clé par une clé de votre tableau de bord.
curl -X GET https://api.zinndigital.com/v1/compute/add-ons \
-H "Authorization: Bearer zdk_live_…"Connecté ? La console d'API de votre tableau de bord saisit votre véritable ID d'organisation ainsi que votre propre clé, et exécute la requête sur l'API de production afin que vous puissiez voir la réponse réelle. Ouvrir ce point de terminaison dans la console API
Détails
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`.
Paramètres
| Nom | Type | Obligatoire | Qu'est-ce que c'est |
|---|---|---|---|
currency (query) | string | Non | ISO 4217 code to price in. An add-on with no price in it is omitted. |
target (query) | string | Non | The deploy target. Only `own_cloud` sells add-ons; anything else answers with an empty list. |
Réponse
| Nom | Type | Obligatoire | Qu'est-ce que c'est |
|---|---|---|---|
data | ComputeAddOnOffer[] | Oui | — |
Erreurs que cet point de terminaison peut renvoyer
401 · 403 · 429