通过设备上报的 Android ID 查找云手机。
- 副作用:无。只读。可带退避安全重试。 云手机不需要已开机。
- 返回:与
/cloudphone/info相同的详情结构。 - 边界情况:
androidId为空时返回成功但data为 null,而不是参数校验错误;若多台云手机共用同一个 Android ID,则任意返回其中一台。
- http://127.0.0.1:40000http://127.0.0.1:40000/api/cloudphone/queryByAndroidId
curl -i -X POST \
http://127.0.0.1:40000/api/cloudphone/queryByAndroidId \
-H 'Content-Type: application/json' \
-d '{
"androidId": "8f7e6d5c4b3a2f1e"
}'Response
{ "code": 0, "msg": null, "data": { "id": "1673823102599682", "androidId": "1673823102599682", "gaid": "1673823102599682", "envName": "example-name", "groupId": "1673823102599682", "groupName": "example-name", "skuId": "1673823102599682", "tagInfos": [ … ], "billingType": 1, "proxyStatus": 1, "settings": { … }, "device": { … }, "proxy": { … }, "lastStartMemberId": "1673823102599682", "lastStartMemberName": "example-name", "lastStartDate": "2026-09-01 12:00:00", "lastConnectMemberId": "1673823102599682", "lastConnectMemberName": "example-name", "lastConnectDate": "2026-09-01 12:00:00", "envStatus": 1, "abnormalStatus": 1, "expireTime": "2026-09-01 12:00:00", "envRemark": "example remark", "createMember": "string", "updateMember": "2026-09-01 12:00:00", "updateDate": "2026-09-01 12:00:00", "createDate": "2026-09-01 12:00:00", "createMemberName": "example-name" }, "requestId": "0d8b6f1c-9f4e-4d02-9d1a-7c3f5a1b2c3d" }