API referenceSections

Read the feed now; the manifest and notes must carry a trusted release signature (PANEL_UPDATE_CHECK_FAILED, PANEL_UPDATE_OFFLINE)

Generated from the OpenAPI contract. Sessions send the CSRF header on writes; API keys use a Bearer token. Authentication

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

Authentication: API key (Authorization: Bearer …) or session cookie __Host-panel_session.

Parameters

NameInTypeRequiredDescription
tidpathstringrequired
X-CSRF-Tokenheaderstringoptional

Required on unsafe requests authenticated by session cookie; API keys do not use it.

Responses

200 Updates

Content type: application/json

  • installed object | null required

    Null for a development build, which checks but cannot update

    • version string required
    • channel string required
  • settings PanelUpdateSettings required
    • feed_url string required

      https feed on a public host (PANEL_UPDATE_FEED_URL_INVALID, PANEL_UPDATE_FEED_HOST_NOT_PUBLIC); default https://updates.zopanel.net/

    • channel string required

      Empty follows the installed release's channel

      Allowed values: "" "stable" "lts" "beta"
    • offline boolean required

      No checks at all

    • mode string required

      What installs by itself in the window; notify installs nothing

      Allowed values: "notify" "security" "all"
    • window object required
      • no other properties
      • days array<integer> required

        0 Sunday … 6 Saturday

      • start_hour integer required
        • minimum 0
        • maximum 23
      • end_hour integer required

        Before start_hour runs past midnight; equal is the whole day

        • minimum 0
        • maximum 23
    • roll_agents boolean required

      After the panel updates, roll the other servers' agents in batches (ADR 0098), in the same window

    • agent_batch_size integer required
      • minimum 1
      • maximum 100
    • configured_by string optional

      Set by the panel; never sent

  • default_feed_url string required
  • channel string required

    The channel checked

  • checked_at string (date-time) | null required
  • check_error string required
  • check_error_code string required

    Stable code of the last check's failure (PANEL_UPDATE_*), empty when it went through; check_error is the detail.

  • latest object | null required
    • version string required
    • channel string required
    • severity string required
      Allowed values: "normal" "security"
    • notes map<string, string> required

      Signed release notes per language (en, vi)

    • notes_url string required
    • built_at string (date-time) required
    • min_upgrade_from string required
  • update_available boolean required

    latest is newer than installed (never an older one)

  • blocker string required

    Why 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_server object | null required

    The server this panel runs on (its broker runs the update)

    • id string required
    • name string required
  • op PanelUpdateOp | null required
    • id string required
    • from string required
    • to string required
    • channel string required
    • severity string required
      Allowed values: "normal" "security"
    • state string required
      Allowed values: "queued" "starting" "downloading" "installing" "succeeded" "rolled_back" "failed"
    • message string optional
    • log string optional

      The updater's log on the panel's machine

    • server_id string required
    • job_id string required
    • by string optional
    • auto boolean required
    • started_at string (date-time) required
    • finished_at string (date-time) optional
    • recorded boolean optional
  • next_window string (date-time) | null required
  • server_time string (date-time) required
  • server_zone string required
  • manual_command string required

    The same update by hand on the panel's machine

  • rollout_for string required
  • rollout_id string required
  • rollout_error string required
  • repair object | null optional

    How 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

    • command string required

      Repairs the running release, in an elevated PowerShell

    • msi_version string required

      Release of the MSI in Program Files\Zopanel\installer; empty when not installed by an MSI

    • msi_repair_fails boolean required
Example
{
  "installed": {
    "version": "string",
    "channel": "string"
  },
  "settings": {
    "feed_url": "string",
    "channel": "",
    "offline": true,
    "mode": "notify",
    "window": {
      "days": [
        0
      ],
      "start_hour": 0,
      "end_hour": 0
    },
    "roll_agents": true,
    "agent_batch_size": 1,
    "configured_by": "string"
  },
  "default_feed_url": "string",
  "channel": "string",
  "checked_at": "2026-01-01T00:00:00Z",
  "check_error": "string",
  "check_error_code": "string",
  "latest": {
    "version": "string",
    "channel": "string",
    "severity": "normal",
    "notes": {
      "key": "string"
    },
    "notes_url": "string",
    "built_at": "2026-01-01T00:00:00Z",
    "min_upgrade_from": "string"
  },
  "update_available": true,
  "blocker": "string",
  "local_server": {
    "id": "string",
    "name": "string"
  },
  "op": {
    "id": "string",
    "from": "string",
    "to": "string",
    "channel": "string",
    "severity": "normal",
    "state": "queued",
    "message": "string",
    "log": "string",
    "server_id": "string",
    "job_id": "string",
    "by": "string",
    "auto": true,
    "started_at": "2026-01-01T00:00:00Z",
    "finished_at": "2026-01-01T00:00:00Z",
    "recorded": true
  },
  "next_window": "2026-01-01T00:00:00Z",
  "server_time": "2026-01-01T00:00:00Z",
  "server_zone": "string",
  "manual_command": "string",
  "rollout_for": "string",
  "rollout_id": "string",
  "rollout_error": "string",
  "repair": {
    "command": "string",
    "msi_version": "string",
    "msi_repair_fails": true
  }
}

default Error

Content type: application/json

  • code string required
  • message string required
  • details_redacted boolean required
  • correlation_id string required
  • retryable boolean required