configuration /
system /
firmware /
autoupdate
CLI REST-API
force-update
force-update [option]
command force-update downloads, installs and selects the available firmware on the server in any case,
even if it is not newer than the currently running firmware.
RESTAPI: The data can be passed in the body like this:
{
"parameters": {
"url": "fw_7.00.001",
"download": "fw_7.00.001.rel"
}
}
| 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 | |
| download | url | downloads from this URL to install the update the url should point to a .rel file | |
See also:
/configuration/system/firmware/autoupdate: Autoupdate
/configuration/system/firmware/autoupdate/start-update: starts a firmware update
/configuration/system/firmware/autoupdate/check-update: checks for a firmware update
REST-API Support:
This command is supported by the REST API:
Method: PUT
URL: /api/configuration/system/firmware/autoupdate/force-update
Body:
{
"parameters": {
"url": [url],
"download": [url]
}
}
Example using curl:
curl -X PUT /api/configuration/system/firmware/autoupdate/force-update -d
"{
\"parameters\": {
\"url\": \"fw_7.00.001\",
\"download\": \"fw_7.00.001.rel\"
}
}"