compute

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

Whether the Zinn® panel can be added to this server now, and why not.

All compute endpoints

All developer docs →

Zinn®, our Viking, hammering at his anvil beside an API endpoint sending events to several listeners.

Authentication

Send an API key as a bearer token. The key must carry the sites.view permission; a key without it is refused with 403, not 404.

This endpoint takes no organisation id. Your key already identifies the organisation it belongs to, and the response is scoped to it.

Try it

Replace anything in angle brackets with your own values, and the key placeholder with a key from your dashboard.

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

Signed in? The API console in your dashboard fills in your real organisation id and your own key, and runs the request against the live API so you can see the actual response. Open this endpoint in the API console

Details

P3-008 (cloud panel lane D). available is true when the panel can go on this machine now. Otherwise reason names why, one of not_active, suspended, cluster, already (the panel is on it or being added), failed (an earlier attempt failed: a support case, not offered again here), standing (the account is not in good standing), not_offered, windows, range, small (under 2 GB of memory), starter (a Docker or Kubernetes starter), other_panel (a Plesk licence), cloudlinux or image (an operating system the panel is not proven on yet). panel_state and panel_message are the server's own (ComputeServer). Requires sites.view.

Parameters

NameTypeRequiredWhat it is
serverId (path)UuidYesThe 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.

Response

NameTypeRequiredWhat it is
availablebooleanYes—
reasonobjectYes—
panel_statestring<, enrolling, managed, failed>Yes—
panel_messagestringYesA registered refusal.enrol.* sentence, or blank — never a raw error (an SSH error with an address reached a customer before PANEL-C r10).
panel_message_refusalComputePanelMessageRefusal | nullNo—
key_linestringYesThe Zinn® panel's access key, PUBLIC line only (ssh-ed25519 AAAA… comment), for a server we did not build with it (bought bare). The customer adds it to key_path before…
key_pathstringYesThe file key_line goes in on the server: the authorized_keys of the account the enrolment signs in as, the box's own login user (/home/admin/.ssh/authorized_keys on a box…

Errors this endpoint can return

401 · 403 · 404