Skip to content

Lấy thông tin chi tiết điện thoại đám mây bằng AndroidId

Request

Tra cứu một cloud phone theo Android ID mà thiết bị báo về.

  • Tác động: không có. Chỉ đọc. An toàn khi thử lại với thời gian chờ tăng dần có giới hạn. Cloud phone không cần đang bật.
  • Trả về: cùng cấu trúc chi tiết như /cloudphone/info.
  • Trường hợp biên: androidId rỗng sẽ trả về thành công với data bằng null chứ không phải lỗi kiểm tra dữ liệu, và nếu nhiều cloud phone dùng chung một Android ID thì một trong số đó được trả về tùy ý.
Bodyapplication/jsonrequired
androidIdstringrequired

androidId của Cloud Phone

Example:"8f7e6d5c4b3a2f1e"
curl -i -X POST \
  http://127.0.0.1:40000/api/cloudphone/queryByAndroidId \
  -H 'Content-Type: application/json' \
  -d '{
    "androidId": "8f7e6d5c4b3a2f1e"
  }'

Responses

OK

Bodyapplication/json
codeintegerrequired
Example:0
msgstring or nullrequired
Example:null
dataobject(CloudPhoneDetail)required
requestIdstringrequired
Example:"4d0f4fa68613441e9a11446a6437bb5a"
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" }