Retrieve platform and custom product lists
HTTP Request URL: http(s)://api.thingboot.com/{AppID}/product/list/?sign={sign}&ts={ts}
About the sign and ts definition
Or
MQTT Publish Topic: api/{AppID}/product/list
The returned results are also received on the same topic.
Request parameters
| Name | Required | Type | Description |
|---|---|---|---|
| q | Yes | string | Search keywords, fuzzy match for id, title, and model |
| page_index | No | int | Page number, default 1 |
| page_size | No | int | Default is 10 items, can be set to 20, 30, or 50. |
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