Last Updated on : 2024-06-26 09:22:36download
Query the version information about the specified firmware based on the product ID and firmware key on the Tuya Developer Platform. For example, the production firmware, update file, enabling status, type, and unique ID of the firmware version.
GET: /v1.0/iot-03/product/firmware/versions
Parameter name | Type | IN | Required | Description |
---|---|---|---|---|
product_id | String | query | true | The product ID. |
firmware_key | String | query | true | The firmware key. |
Parameter name | Type | Description |
---|---|---|
result | List | The list of results. |
Description of result
Parameter name | Type | Description |
---|---|---|
remark | String | The remarks. |
files | List | The information about a specified firmware version file. |
gmt_modified | Long | The time when it is modified. |
firmware_version | String | The firmware version number. |
shelf_status | Integer | The enabling status. Valid values:
|
version_type | Integer | The firmware version type. Valid values:
|
firmware_version_id | Long | The firmware version ID. |
Description of files
Parameter name | Type | Description |
---|---|---|
name | String | The name of a specified firmware version file. |
full_url | String | The URL of a specified firmware version file. |
type | String | The file type. Valid values:
|
GET: /v1.0/iot-03/product/firmware/versions
{
"product_id": "***pid",
"firmware_key": "key****"
}
For more information, see error code.
Is this page helpful?
YesFeedbackIs this page helpful?
YesFeedback