Get Channels Bound with Set-Top Box

Last Updated on : 2023-06-20 14:54:07download

Get a list of channels bound with a specified remote control based on the remote control ID.

API address

GET: /v2.0/infrareds/{infrared_id}/remote/{remote_id}/selected-channels

Request parameter

Parameter name Type IN Required Description
infrared_id String uri true The device ID.
remote_id String uri true The ID of a specified remote control.

Return parameter

Parameter name Type Description
result SelectedTableDetailVO The returned result.

Description of result

Parameter name Type Description
area_id Integer The ID of a specified region.
sp_id Integer The ID of a specified carrier.
channel_table_name String The name of a specified channel.
channel_vo_list List The list of channels.
whether_selected Boolean Indicates whether a parameter is selected.

Description of channel_vo_list

Parameter name Type Description
cid Integer The ID of a specified channel.
name String The name of a specified channel.
num Integer The channel number.

Request example

GET: /v2.0/infrareds/vdevo15345926009****/remote/d5s65ca55/selected-channels

Return example

{ "result": { "area_id": 330106, "channel_table_name": "Channel Table", "channel_vo_list": [ { "cid": 110190, "name": "3D Channel" "num": 0 } ], "sp_id": 37, "weather_selected": true }, "success": true, "t": 1632733332634 }

Error code

For more information, see error code.