Skip to content
Skip to Content
Coder Docs

Update check

GET
/api/v2/updatecheck

Response Body

OK

application/json
  1. response
current?boolean

Current indicates whether the server version is the same as the latest.

url?string

URL to download the latest release of Coder.

version?string

Version is the semantic version for the latest release of Coder.

The samples read CODER_URL and CODER_SESSION_TOKEN: set up your environment.

curl -X GET \	"$CODER_URL/api/v2/updatecheck"
Example Response200
{  "current": true,  "url": "string",  "version": "string"}