The running version, the newest signed release in the instance's channel with its notes, and whether it is newer
const url = 'https://example.com/v1/console/updates';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://example.com/v1/console/updates \ --header 'Authorization: Bearer <token>'Checks the instance’s release channel now and returns the running version, the newest signed release with its notes and advisories, whether it is newer, and the sessions an update would stop; a channel that cannot be checked is reported in check_error with the running version still present.
Authorizations
Section titled “ Authorizations ”Responses
Section titled “ Responses ”OK
object
The newest release in the channel, when the check reached it.
Why the channel could not be checked, in the words olivares upgrade uses.
Present on a Community build that holds a live Business or Enterprise license: the one next step to the licensed build for the way this engine was installed. The newest release above is then the licensed build.
object
The exact command for this installation; empty where the manifest does it.
The apply operation takes the step itself, so the console offers a button.
How this engine was installed.
What follows the command.
The edition the license entitles; both are one licensed build.
A newer binary than the running one is already installed; the engine runs the old version until it restarts.
The engine is restarting itself on the new version.
Sessions this engine runs now. The restart that applies an update stops every one of them; each can be resumed.
The release fixes a published advisory.
The newest release is newer than the running version.
The version this engine runs now; after an apply it stays the old one until the engine has restarted.
Example
{ "edition": "community", "edition_switch": { "install": "binary", "to": "business" }}Bad request
object
object
With code module_not_enabled: the namespace of the module this node does not run.
Example generated
{ "error": { "code": "example", "message": "example", "module": "example" }}Unauthenticated
object
object
With code module_not_enabled: the namespace of the module this node does not run.
Example generated
{ "error": { "code": "example", "message": "example", "module": "example" }}Forbidden
object
object
With code module_not_enabled: the namespace of the module this node does not run.
Example generated
{ "error": { "code": "example", "message": "example", "module": "example" }}Not found
object
object
With code module_not_enabled: the namespace of the module this node does not run.
Example generated
{ "error": { "code": "example", "message": "example", "module": "example" }}Conflict / setup required
object
object
With code module_not_enabled: the namespace of the module this node does not run.
Example generated
{ "error": { "code": "example", "message": "example", "module": "example" }}Rate limited
object
object
With code module_not_enabled: the namespace of the module this node does not run.
Example generated
{ "error": { "code": "example", "message": "example", "module": "example" }}