get_device_profile_list
获取可选择的设备配置。
适用协议
框架接口,不受 QQ 登录协议限制。
调用方式
json
{
"type": "action",
"id": "get_device_profile_list-1",
"action": "get_device_profile_list",
"params": {}
}参数
无业务参数,params 传 {}。
返回值
data 为 { id: number, name: string }[],按 ID 倒序;无配置返回 []。
注意事项
此接口只提供选择用的 ID 与名称,不创建或修改设备。将选中的 ID 传入 add_account / update_account 的 device_profile_id。
