跳转到内容

获取手机机型列表

Request

返回 Android 与 iOS 浏览器可用的移动设备机型。

  • 副作用:无。只读。可带退避安全重试。
  • 返回内容:MoreLogin 机型表与指纹基础数据服务的交集。只存在于其中一方的机型会被忽略,且返回的 id 属于指纹服务,不是机型表的主键。
Security
OpenApiBearer
curl -i -X POST \
  https://api.morelogin.com/env/base/mobile/devices \
  -H 'Authorization: Bearer <YOUR_JWT_HERE>'

Responses

成功。没有可用机型时返回空数组。

Bodyapplication/json
codeintegerrequired

Return result code. 0 means success; other codes indicate exceptions.

Example:0
msgstring or nullrequired

Error message. Usually null on success.

Example:null
requestIdstring

Operation request ID. This field may be present when the request passes through the API gateway.

Example:"1d4f3ea968664593860b94b35d4ebf5e"
dataArray of objects(MobileDevice)required
Response
{ "code": 0, "msg": null, "requestId": "0d8b6f1c-9f4e-4d02-9d1a-7c3f5a1b2c3d", "data": [ { … } ] }