更新时间:2024-06-05 03:15:12下载pdf
| action | 说明 | 
|---|---|
| infrared.remotes | 获取红外设备下面绑定的遥控器列表 | 
接口地址
action: infrared.remotes
接口说明
根据红外设备 ID,获取红外设备下面绑定的遥控器列表。
请求参数
| 参数名 | 类型 | 说明 | 是否必填 | 
|---|---|---|---|
| infrared_id | String | 红外设备 ID | 是 | 
响应参数
| 参数名 | 类型 | 说明 | 
|---|---|---|
| code | Integer | 响应码,详见 全局错误码 | 
| success | Boolean | 是否成功: true:成功false:失败 | 
| msg | String | 请求失败的信息,成功为空 | 
| result | List | 返回结果 | 
result 参数说明
| 参数名 | 类型 | 说明 | 
|---|---|---|
| category_id | String | 设备类型 ID | 
| brand_id | String | 品牌 ID | 
| brand_name | String | 品牌名称 | 
| remote_id | String | 遥控器的设备 ID | 
| remote_name | String | 遥控器的名字 | 
| remote_index | String | 遥控器索引 | 
| operator_id | String | 运营商 ID,当设备类型为机顶盒时有值 | 
| operator_name | String | 运营商名称,当设备类型为机顶盒时有值 | 
| area_id | String | 区域 ID,当设备类型为机顶盒时有值 | 
| area_name | String | 区域名称,当设备类型为机顶盒时有值 | 
| iptv_type | Integer | IPTV 类型: 1:是0:否当设备类型为机顶盒时有值 | 
| t | Long | 添加时间,13 位标准时间戳 | 
请求示例
{
  "action": "infrared.remotes",
  "params": {
    "infrared_id": "vdevo157924607038167"
  }
}
成功示例
{
    "success": true,
    "result": [
        {
            "category_id": "5",
            "brand_id": "97",
            "remote_id": "6cf1fd8b5fb7e090c97mqf",
            "remote_name": "格力空调",
            "remote_index": "10727" ,
            "t": 1539776581583
        },
        {
            "category_id": "1",
            "brand_id": "1017",
            "brand_name": "中兴",
            "remote_id": "6c9a93cdaf677cfd151q3t",
            "operator_id": "42",
            "operator_name": "浙江电信 IPTV ",
            "area_id": "330106",
            "area_name": "浙江省杭州市西湖区",
            "remote_name": "机顶盒 11",
            "remote_index": "5129",
            "iptv_type": 1,
            "t": 1539776581583
        }
    ],
    "t": 1539776581583
}
失败示例
{
    "success": false,
    "code": 500,
    "msg": "system error,please contact the admin"
}
该内容对您有帮助吗?
是意见反馈该内容对您有帮助吗?
是意见反馈