Retrieve the product list of existing (stock) devices
HTTP Request URL: http(s)://api.thingboot.com/{AppID}/product/list/stock/?sign={sign}&ts={ts}
About the sign and ts definition
Or
MQTT Publish Topic: api/{AppID}/product/list/stock
The returned results are also received on the same topic.
Return results
| Name | Type | Description |
|---|---|---|
| id | int | Product ID, unique to the platform and permanently fixed. |
| model | string | Product model |
| title | string | Product name |
| icon | string | Product icon |
| producer | string | Manufacturer, ThingBoot or custom |
| device | int | Number of devices of this product type under the Workbench (Console) |
| remark | string | Remark |
Return example