configuration /
system /
firmware /
autoupdate
CLI REST-API
check-update
check-update [option]
command check-update only check if a newer firmware is available but do not download and install it
RESTAPI: The data can be passed in the body like this:
{
"parameters": {
"url": "fw_7.00.001",
"mode": "pfc"
}
}
| Name | Value | Description | Example |
|---|
| url | url | checks for an available update at the specified URL. Per default,the url is configured with the /firmware/autoupdate/server/url configuration parameter | |
| pfc | | check if a newer firmware is available and if it is, download the file and perform preflight checks | |
See also:
/configuration/system/firmware/autoupdate: Autoupdate
/configuration/system/firmware/autoupdate/start-update: starts a firmware update
/configuration/system/firmware/autoupdate/force-update: forces a firmware update
REST-API Support:
This command is supported by the REST API:
Method: PUT
URL: /api/configuration/system/firmware/autoupdate/check-update
Body:
{
"parameters": {
"url": [url],
"mode": [mode]
}
}
Example using curl:
curl -X PUT /api/configuration/system/firmware/autoupdate/check-update -d
"{
\"parameters\": {
\"url\": \"fw_7.00.001\",
\"mode\": \"pfc\"
}
}"