compute

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

What this machine may be rebuilt to.

Všechny koncové body compute

Všechny dokumenty pro vývojáře

Autentizace

Zašlete API klíč jako nosný token (bearer token). Klíč musí mít oprávnění sites.view; klíč bez něj je odmítnut s kódem 403, nikoli 404.

Tento koncový bod nevyžaduje žádné ID organizace. Váš klíč již identifikuje organizaci, ke které patří, a odpověď je na ni omezena.

Vyzvednout

Nahraďte cokoli v závorkách vlastními hodnotami a zástupný symbol klíče klíčem z vašeho řídicího panelu.

curl -X GET https://api.zinndigital.com/v1/compute/servers/{serverId}/images \
  -H "Authorization: Bearer zdk_live_…"

Přihlášeni? Konzole API ve vašem dashboardu automaticky doplní vaše skutečné ID organizace i váš vlastní klíč a odešle požadavek na živé API, abyste viděli reálnou odpověď. Otevřete tento koncový bod v konzoli API

Podrobnosti

⭐⭐ 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.

Parametry

NázevTypPožadovánoCo to je
serverId (path)UuidAnoThe 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.

Odpověď

NázevTypPožadovánoCo to je
dataComputeImage[]Ano

Chyby, které může tento koncový bod vrátit

401 · 403 · 404 · 429