Hoserva and Debian update status
GET/settings/updates
Required role: viewer. An account or token with the viewer or admin role can call this operation.
Example request
curl --request GET \
--header "Authorization: Bearer $HOSERVA_TOKEN" \
"https://$HOSERVA_HOST:8008/api/v1/settings/updates"
Current Hoserva version, any newer release on the configured channel, update-check on/off, pending Debian updates and whether a reboot is required. The update check reads only the release index on the project site — never the GitHub API and never a system-wide apt update. When the check is disabled, availableVersion is omitted rather than fetched.
Responses
- 200
- default
Current update status.
An error response.