API referenceSections

Pending Windows updates, restart state and the maintenance window

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

GET /api/v1/tenants/{tid}/servers/{id}/updates

Pending Windows updates, restart state and the maintenance window (ADR 0076); server.read

Authentication: session cookie __Host-panel_session (contract default; see Authentication).

Parameters

NameInTypeRequiredDescription
tidpathstringrequired
idpathstringrequired

Responses

200 Updates

Content type: application/json

  • settings UpdateSettings required
    • days array<integer> required

      0 Sunday … 6 Saturday, UTC

    • start_hour integer required
      • minimum 0
      • maximum 23
    • hours integer required
      • minimum 1
      • maximum 12
    • auto_install boolean required
    • reboot string required
      Allowed values: "never" "ask" "auto"
  • scanned_at string (date-time) | null required
  • pending array<object> required
    • id string required
    • revision integer optional
    • title string required
    • kbs array<string> required
    • severity string required
    • categories array<string> required
    • size integer required
    • reboot boolean required
    • driver boolean required
    • downloaded boolean optional
    • approved boolean required
  • reboot_pending boolean required
  • last_boot string (date-time) | null required
  • reboot_at string (date-time) | null required
  • in_window boolean required
  • next_window string (date-time) | null required
  • running array<UpdateRun> required
    • id string required
    • kind string required
      Allowed values: "scan" "install" "reboot"
    • trigger string required
      Allowed values: "manual" "window" "reboot_check"
    • state string required
      Allowed values: "running" "succeeded" "failed"
    • job_id string optional
    • started_at string (date-time) required
    • finished_at string (date-time) | null required
    • reboot_required boolean required
    • error_code string required
    • summary object required
Example
{
  "settings": {
    "days": [
      0
    ],
    "start_hour": 0,
    "hours": 1,
    "auto_install": true,
    "reboot": "never"
  },
  "scanned_at": "2026-01-01T00:00:00Z",
  "pending": [
    {
      "id": "string",
      "revision": 0,
      "title": "string",
      "kbs": [
        "string"
      ],
      "severity": "string",
      "categories": [
        "string"
      ],
      "size": 0,
      "reboot": true,
      "driver": true,
      "downloaded": true,
      "approved": true
    }
  ],
  "reboot_pending": true,
  "last_boot": "2026-01-01T00:00:00Z",
  "reboot_at": "2026-01-01T00:00:00Z",
  "in_window": true,
  "next_window": "2026-01-01T00:00:00Z",
  "running": [
    {
      "id": "string",
      "kind": "scan",
      "trigger": "manual",
      "state": "running",
      "job_id": "string",
      "started_at": "2026-01-01T00:00:00Z",
      "finished_at": "2026-01-01T00:00:00Z",
      "reboot_required": true,
      "error_code": "string",
      "summary": {}
    }
  ]
}

default Error

Content type: application/json

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