Last Updated on : 2023-12-07 03:33:50download
Get the status set based on the standard category.
GET: /v1.0/iot-03/categories/{category}/status
| Parameter name | Type | IN | Required | Description |
|---|---|---|---|---|
| category | String | uri | true | The product category. |
| Parameter name | Type | Description |
|---|---|---|
| result | StatusRes | The returned result. |
Description of result
| Parameter name | Type | Description |
|---|---|---|
| category | String | The product category. |
| status_list | List | The status set. |
Description of status_list
| Parameter name | Type | Description |
|---|---|---|
| name | String | The name of status. |
| code | String | The code of status. |
| type | String | The type. |
| values | String | The input parameter range. |
GET: /v1.0/iot-03/categories/kg/status
{
"result": {
"statusList": [
{
"code": "relay_status",
"values": "{\"range\":[\"off\",\"on\",\"memory\"]}",
"type": "Enum",
"name": "Power status setting"
}
],
"category": "tgkg"
},
"t": 1571293457435,
"success": "true"
}
For more information, see error code.
Is this page helpful?
YesFeedbackIs this page helpful?
YesFeedback