列出设备
const r = await mn.api('/devices');
mn.log((r.devices || []).length);{
"bridgeApiVersion": "0.91",
"devices": [
{
"id": "macbook",
"name": "MacBook",
"platform": "macOS",
"pairedAt": "2026-10-07T10:20:00Z"
}
]
}插件辅助
列出已配对设备
返回本机已配对设备的摘要。该响应不包含令牌材料,只用于让调用方知道本机记录过哪些设备。
GET
/
devices
列出设备
const r = await mn.api('/devices');
mn.log((r.devices || []).length);{
"bridgeApiVersion": "0.91",
"devices": [
{
"id": "macbook",
"name": "MacBook",
"platform": "macOS",
"pairedAt": "2026-10-07T10:20:00Z"
}
]
}