[Req][Sub] Firmwares list response

Publish all available firmwares for the device

Request Topic and Payload

Topic

things5-production/v1/devices/<device-id>/req/firmwares_list_res

Payload representation

{
  "request_id": "UUID sent in the request",
  "firmwares": [{
    "id": "a1d4a886-0ad8-46fd-a042-abbc0493cca4",
    "version": "1.0.3-beta2",
    "main": true
  }, {
    "id": "45dd3c71-5a4c-4899-8cc6-9a26f26d9e20",
    "version": "1.0.2",
    "main": false
  }]
}
namedescription
request_idUUID sent in the request topic
device_id
firmwaresList of firmwares with id and version in SEMVER format (https://semver.org/)