Last Updated on : 2024-06-29 01:08:43download
Get the instruction set of the category by the product category code.
GET: /v1.0/iot-03/categories/{category}/functions
| Parameter name | Type | IN | Required | Description |
|---|---|---|---|---|
| category | String | uri | true | Product category |
| Parameter name | Type | Description |
|---|---|---|
| result | FunctionRes |
Description of result
| Parameter name | Type | Description |
|---|---|---|
| category | String | Product category |
| functions | List | Instruction set |
Description of functions
| Parameter name | Type | Description |
|---|---|---|
| name | String | Instruction name |
| desc | String | Description |
| code | String | Instruction |
| type | String | Instruction type |
| values | String | The input parameter range of the instruction |
GET: /v1.0/iot-03/categories/kg/functions
{
"result": {
"functions": [
{
"code": "switch",
"values": "{}",
"type": "Boolean",
"name": "Switch",
"desc": "Master switch"
}
],
"category": "kg"
},
"t": 1571293457435,
"success": true
}
For more information, see error code.
Is this page helpful?
YesFeedbackIs this page helpful?
YesFeedback