Last Updated on : 2023-06-20 14:54:07download
Query the information about the categories supported by the universal remote control.
GET: /v2.0/infrareds/{infrared_id}/categories
Parameter name | Type | IN | Required | Description |
---|---|---|---|---|
infrared_id | String | uri | true | The device ID. |
Parameter name | Type | Description |
---|---|---|
result | List | The returned result. |
Description of result
Parameter name | Type | Description |
---|---|---|
category_id | Integer | The ID of a specified category. |
category_name | String | The name of a specified category. |
GET: /v2.0/infrareds/vdevo15345926009****/categories
{
"result": [
{
"category_name": "Television",
"category_id": 2
},
{
"category_name": "Set-top box",
"category_id": 1
},
{
"category_name": "Television box",
"category_id": 3
},
{
"category_name": "Air conditioner",
"category_id": 5
},
{
"category_name": "Fan",
"category_id": 8
},
{
"category_name": "Light",
"category_id": 10
},
{
"category_name": "Speaker",
"category_id": 7
},
{
"category_name": "Projector",
"category_id": 6
},
{
"category_name": "DVD",
"category_id": 4
},
{
"category_name": "Camera",
"category_id": 9
},
{
"category_name": "Water heater",
"category_id": 12
},
{
"category_name": "Purifier",
"category_id": 11
},
{
"category_name": "Custom learning",
"category_id": 999
}
],
"t": 1630637711410,
"success": true
}
For more information, see error code.
Is this page helpful?
YesFeedbackIs this page helpful?
YesFeedback