Skip to navigation

Get version and update state

Returns the installed version, the result of the last release check, whether a newer release exists, and the state of an update that is running or has finished. With refresh=1 it checks for a release first, which contacts GitHub.

Query parameters

refreshenumOptional

Send exactly refresh=1 to run a release check before answering. Any other value does nothing.

Allowed values:

Response

The version state.
pidinteger
This dashboard's process id.
installedstring
The version this dashboard was built as.
lateststring or null
The newest release the last check found.
urlstring or null

The release page of latest.

checked_atinteger or null
Unix seconds of the last check.
errorstring or null
Why the last check failed, or null.
no_releaseboolean
True when the last check found no published release.
update_availablestring or null
The newer version, when one is available.
updateobject or null
An update that is running or has finished, or null.

Errors

421
Misdirected Request Error