✔️ Upload firmware

POST {{host}}{{api-path}}/firmwares

To upload the firmwares, following is passed to the headers:

x-bytebeam-tenant: <tenant>
x-bytebeam-api-key: <your api-key>

The response body contains a firmware file and version-number.

The content-type of the firmware file is multipart/form-data .

Attention has to be given while uploading a firmware file the version number should not be an existing one.

Request Body

[{"name"=>"file", "value"=>nil, "datatype"=>"null"}, {"name"=>"version-number", "value"=>"{{$randomInt}}", "datatype"=>"string"}]

HEADERS

KeyDatatypeRequiredDescription
x-bytebeam-tenantstring
x-bytebeam-api-keystring

RESPONSES

status: Created

{&quot;version-number&quot;:&quot;2.090&quot;,&quot;file-name&quot;:&quot;temp-file&quot;,&quot;content-length&quot;:104857600}