Skip to content

Get phone model list

Request

Return the mobile device models available for Android and iOS browser profiles.

  • Effect: none. Read-only. Safe to retry with bounded backoff.
  • Contents: the intersection of the MoreLogin device table and the fingerprint base-data service. Models present in only one of the two are omitted, and the returned id belongs to the fingerprint service, not the device table.
curl -i -X POST \
  http://127.0.0.1:40000/api/env/base/mobile/devices

Responses

Success. data is an array of objects with the fields id, name, resolution, os and platform, and an empty array when there is nothing to return.

Headers
any
Bodyapplication/json
codeintegerrequired

Return result code 0:Normal Other codes are exceptions.

msgstring or nullrequired

Error message

dataArray of objectsrequired

Response data

requestIdstringrequired

Operation request ID

Response
{ "code": 0, "msg": null, "data": [ { … } ], "requestId": "0d8b6f1c-9f4e-4d02-9d1a-7c3f5a1b2c3d" }