コンテンツへスキップ

Android ID からクラウドフォンの詳細を取得

Request

端末が報告する Android ID からクラウドフォンを検索します。

  • 副作用:なし。読み取り専用。バックオフを入れれば安全にリトライできます。クラウドフォンは起動している必要はありません。
  • 返却:/cloudphone/info と同じ詳細構造です。
  • 境界ケース:androidId が空の場合、バリデーションエラーではなく data が null の成功が返ります。また複数のクラウドフォンが同じ Android ID を持つ場合、そのうち 1 台が任意に返されます。
Bodyapplication/jsonrequired
androidIdstringrequired

クラウドフォンの androidId

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" }