Switch Channels

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

Switch the set-top box channels by channel number. The channel numbers with decimal points are supported.

API address

POST: /v2.0/infrareds/{infrared_id}/channel/switch

Request parameter

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

Return parameter

Parameter name Type Description
result Boolean The operation result.

Request example

POST: /v2.0/infrareds/vdevo15345926009****/channel/switch
{ "remote_id": "d5s65ca55", "channel_num": 6 }

Return example

{ "result": true, "t": 1630918697748, "success": true }

Error code

For more information, see error code.