compute

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

What this machine may be rebuilt to.

Semua titik akhir compute

Pengesahan

Hantar kunci API sebagai token pembawa. Kunci tersebut mesti membawa kebenaran sites.view; kunci yang tidak mempunyainya akan ditolak dengan 403, bukan 404.

Titik akhir ini tidak memerlukan id organisasi. Kunci anda telah mengenal pasti organisasi kepunyaannya, dan respons dis skopkan kepadanya.

Cuba

Gantikan apa sahaja di dalam kurungan sudut dengan nilai anda sendiri, dan pemegang tempat kunci dengan kunci dari papan pemuka anda.

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

Sudah log masuk? Konsol API dalam papan pemuka anda mengisi id organisasi sebenar dan kunci anda sendiri, serta menjalankan permintaan terhadap API langsung supaya anda boleh melihat respons sebenar. Buka penamat ini dalam konsol API

Butiran

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

Parameter

NamaJenisDiperlukanApakah ia
serverId (path)UuidYaThe 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.

Respons

NamaJenisDiperlukanApakah ia
dataComputeImage[]Ya

Ralat yang boleh dikembalikan oleh titik akhir ini

401 · 403 · 404 · 429