Get a firmware version of a model

Returns a firmware version with its metadata (version, changelog, size, MD5) and signed links to download the firmware file; optionally with its variables.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…

Permission: Organization role with machine_models:manage in the model's organization, or machines:manage / machines:firmware_update on at least one device of that model.

firmware_url/insecure_firmware_url are time-limited signed links (null if the firmware has no file). machine_commands is not loaded here (null).

With include_machine_variables=true the variables are untranslated (label and description null) unless language or translation_languages is passed.

Translations in several languages

Optional, for clients that match words in several languages to variable names (an AI model, a search box):

  • translation_languages=it,en adds to each variable a translations map:
"translations": {
  "it": {"label": "Temperatura cella", "description": "Temperatura della sonda cella", "category": "Temperature",
         "values": [{"value": "0", "translation": "Spento"}, {"value": "1", "translation": "Acceso"}]},
  "en": {"label": "Cell temperature"}
}

Only the languages with at least one translation appear; inside a language a field without a translation is missing (there is no fallback to another language). category and values (enum values, sorted by value) appear only when translated.

  • language=it fills label, description, category and values in that language.

Without these parameters the response does not change. An unsupported language answers 400.

Path Params
string
required

Device model id (not checked against the firmware: the firmware is looked up by id only)

string
required

Firmware id

Query Params
boolean
Defaults to false

Include the firmware's variables (metrics, states, events, parameters) in machine_variables; otherwise it is null. Allowed: true, false.

string

Language of label, description, category and values of each variable, instead of the user's language. One of en, de, es, fr, it.

string

Comma-separated languages (en, de, es, fr, it), e.g. it,en. Adds a translations map with the labels and descriptions in those languages. An unsupported language answers 400.

Responses

Language
Credentials
Header
LoadingLoading…
Response
Choose an example:
application/json