PanelUpdate
PanelUpdate objectinstalledobject | null requiredNull for a development build, which checks but cannot update
versionstring requiredchannelstring required
default_feed_urlstring requiredchannelstring requiredThe channel checked
checked_atstring (date-time) | null requiredcheck_errorstring requiredcheck_error_codestring requiredStable code of the last check's failure (PANEL_UPDATE_*), empty when it went through; check_error is the detail.
latestobject | null requiredversionstring requiredchannelstring requiredseveritystring requiredAllowed values:"normal""security"notesmap<string, string> requiredSigned release notes per language (en, vi)
notes_urlstring requiredbuilt_atstring (date-time) requiredmin_upgrade_fromstring required
update_availableboolean requiredlatest is newer than installed (never an older one)
blockerstring requiredWhy the update cannot start now: PANEL_UPDATE_DEV_BUILD, PANEL_UPDATE_OFFLINE, PANEL_UPDATE_BUSY, PANEL_UPDATE_NONE, PANEL_UPDATE_NEEDS_INTERMEDIATE, PANEL_UPDATE_NO_LOCAL_SERVER; empty when it can
local_serverobject | null requiredThe server this panel runs on (its broker runs the update)
idstring requirednamestring required
next_windowstring (date-time) | null requiredserver_timestring (date-time) requiredserver_zonestring requiredmanual_commandstring requiredThe same update by hand on the panel's machine
rollout_forstring requiredrollout_idstring requiredrollout_errorstring requiredrepairobject | null optionalHow to repair this installation (D25); null for a development build. msi_repair_fails: the machine was installed by an MSI older than 0.9.143 and runs a newer release, so repairing with that MSI (msiexec /fa, Apps & features) fails with 1603 (R15-4); use command or a newer MSI
commandstring requiredRepairs the running release, in an elevated PowerShell
msi_versionstring requiredRelease of the MSI in Program Files\Zopanel\installer; empty when not installed by an MSI
msi_repair_failsboolean required
Used by
| GET | /api/v1/tenants/{tid}/panel-update | The panel's own updates: installed release, what the feed offers (version, severity, signed notes), the policy and the current update (ADR 0145) |
| PUT | /api/v1/tenants/{tid}/panel-update/settings | Feed, channel, offline mode, what installs by itself and in which window, and the agents' rollout after an update (ADR 0145) |
| POST | /api/v1/tenants/{tid}/panel-update/check | Read the feed now; the manifest and notes must carry a trusted release signature (PANEL_UPDATE_CHECK_FAILED, PANEL_UPDATE_OFFLINE). A newer release seen first raises update.available |
| POST | /api/v1/tenants/{tid}/panel-update/apply 202 | Install the offered release: a panel.update job for the broker on the panel's own machine, which runs zopanel-setup update -feed detached (backup, switch, health check, rollback on failure). The panel restarts; the outcome is read back when it is up |