Documentation

← Back to site

Initiate a firmware upgrade

Last updated on March 17, 2015 15:57

This method allows you to initiate an upgrade to the latest available firmware for a device.

URL

/api/v1/devices/update_latest_firmware

Required parameters

  • id - the ID of the device to upgrade

Response

If an upgrade can be commenced, information about the new firmware will be returned. If no update is available, a validation error will be returned.

{
  "id": 1,
  "version_number":"v1.0",
  "data":"...",
  "enabled":true,
  "device_type":"gateway",
  "remote_id":"123456"
}