Current Version¶
To retrieve the current version of the engine, and any available updates, call the URI http(s)://<qie_server>:<management_api_port>/engine/currentVersion with the following payload:
Base JSON Payload Definition
| Node | Description |
|---|---|
| None | There is no required payload for the request call |
The following response is received:
HTTP Status: 200
{
"runningVersion": "<version>",
"availableVersion": "<version>" | "None",
"downloadedVersion": "<version>" | "None"
}
| Node | Description |
|---|---|
| runningVersion | The version of the engine that is running |
| availableVersion | The new version of the engine that is ready to be downloaded and installed. If there is no version available for download then this value is "None" |
| downloadedVersion | The new version of the engine that has been downloaded and is now ready to be installed. If there is no version downloaded ready to install then this value is "None" |
If there is an error getting version information, then the following response is received:
HTTP Status: 400
Example curl command: