Get Remote Control List

Last Updated on : 2024-02-29 09:27:40download

Get a list of remote controls under the specified device based on the device ID.

API address

GET: /v2.0/infrareds/{infrared_id}/remotes

Request parameter

Parameter nameTypeINRequiredDescription
infrared_idStringuritrueThe device ID.

Return parameter

Parameter nameTypeDescription
resultListThe returned result.

Description of result

Parameter nameTypeDescription
category_idIntegerThe ID of a specified category.
brand_idIntegerThe ID of a specified brand.
brand_nameStringThe name of a specified brand.
remote_idStringThe ID of a specified remote control.
operator_idIntegerThe ID of a specified carrier.
operator_nameStringThe name of a specified carrier.
area_idIntegerThe ID of a specified region.
area_nameStringThe name of a specified region.
remote_nameStringThe name of a specified remote control.
remote_indexIntegerThe ID of a specified remote control index.

Request example

GET: /v2.0/infrareds/vdevo15345926009****/remotes

Return example

{
    "result": [
        {
            "area_name": "** District, ** City, ** Province",
            "remote_index": 111,
            "operator_id": 1,
            "remote_id": "6ce6b0392e09f778bf****",
            "brand_name": "Brand name",
            "area_id": 111,
            "brand_id": 111,
            "operator_name": "Zhejiang WASU",
            "category_id": 1,
            "remote_name": "Set-top box 26"
        }
    ],
    "t": 1630662091160,
    "success": true
}

Error code

For more information, see error code.