compute

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

What this machine may be rebuilt to.

Tous les points de terminaison compute

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/servers/{serverId}/images \
  -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

⭐⭐ **Distinct from the catalogue's per-provider image list, and the duplication is the provider's rather than ours.** `GET /v1/compute/catalogue` answers *"what can I build in this data centre"* — a property of the location. This answers *"what may THIS machine become"*, which is not the same question at every provider: some return only the variants inside the machine's current pricing tier and refuse a Linux↔Windows switch, so two identical-looking machines in one zone can differ. ⛔ Falls back to the provider's list where a provider has no per-machine answer, so an empty result means *this machine cannot be rebuilt*, never *we did not ask*. Requires `sites.view`.

Paramètres

NomTypeObligatoireQu'est-ce que c'est
serverId (path)UuidOuiThe 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.

Réponse

NomTypeObligatoireQu'est-ce que c'est
dataComputeImage[]Oui

Erreurs que cet point de terminaison peut renvoyer

401 · 403 · 404 · 429