Get All Channel Names

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

Get all current channel names and their corresponding channel IDs.

API address

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

Request parameter

Parameter name Type IN Required Description
infrared_id String uri true The device ID.

Return parameter

Parameter name Type Description
result List The returned result.

Description of result

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

Request example

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

Return example

{ "result": [ { "name": "3D Channel", "cid": 9712 }, { "name": "3D TV Test Channel", "cid": 1156 } ], "t": 1632625327332, "success": true }

Error code

For more information, see error code.