OpenDeskUpdate center

Update API

Public read-only interface used by OpenDeskOS (OpenDesk Updater) and by opendesk.docteam.be. UTF-8 JSON responses, open CORS. Common lang parameter (fr by default, en…).

API v2 — full catalog
RequestDescription
GET /api/v2/components?lang=fr&channel=stableAll components (system, apps, themes, projects): translated name and description, available = version present in the APT repository, latest = latest published version in the channel.
GET /api/v2/components/{id}?lang=frOne component and the history of its published versions (releases, newest first). Optional channel.
GET /api/v2/updates?channel=stable&lang=fr&installed=…&os_version=…Updates for installed packages: installed=package=version,… (URL-encoded), optional os_version (VERSION_ID). The beta channel includes stable versions. Returns updates, os and the apt repository settings.
API v1 — system only (compatibility)
RequestDescription
GET /api/latest?channel=stable&current=1.0Latest system version in the channel (stable or beta). With current, tells update_available. Add &format=env for shell-friendly KEY=value output.
GET /api/releases[?channel=…]All published system versions, newest first.
GET /api/releases/{version}Details of one system version (notes, ISO, SHA-256, translations).
GET /api/pingReturns ok. Connection test for the installer.
Examples

Available updates for two installed packages:

curl -s "https://opendesk-updates.docteam.be/api/v2/updates?lang=en&installed=opendeskos-minimal%3D1.0,opendesk-settings%3D1.0.0"

Latest system version, shell format:

curl -s "https://opendesk-updates.docteam.be/api/latest?current=1.0&format=env"

Versions are compared the way dpkg does. An update is only announced once the version can be installed from the APT repository.

APT repository

OpenDeskOS packages are published in a signed APT repository. On OpenDeskOS, it is configured by the opendeskos-archive-keyring package.

/etc/apt/sources.list.d/opendeskos.sources
Types: deb
URIs: https://opendesk-updates.docteam.be/apt
Suites: trixie
Components: main
Signed-By: /usr/share/keyrings/opendeskos-archive-keyring.gpg

Public key: /apt/opendeskos-archive-keyring.gpg