コンテンツへスキップ

ブラウザーカーネルのバージョン一覧を取得

Request

公開済みのブラウザーカーネルとユーザーエージェントのメジャーバージョンを返します。

  • 副作用:なし。読み取り専用。バックオフを入れれば安全にリトライできます。
  • 返却内容:Open API 面は公開済みカーネルのみを返し、Local API 面は稼働中のクライアントバージョンで絞り込むため、2 つの面で異なる集合が返ることがあります。新しいカーネルが公開されるとリストは変化します。
  • 補足:上流の失敗時はエラーではなく空リストになるため、空の結果は「判断できない」と扱ってください。
  • Open API:クライアントに関係なく、公開済みカーネルのみが返されます。
Security
OpenApiBearer
Bodyapplication/json
systemTypeinteger(OperatingSystem)

オペレーティングシステム:

  • 1 — Windows
  • 2 — macOS
  • 3 — Android
  • 4 — iOS
  • 5 — Linux
Enum:12345
Example:1
systemBitTypeinteger(SystemBitType)

システムのビット数。デフォルトは 1:

  • 0 — 32 ビット
  • 1 — 64 ビット
Default:1
Enum:01
Example:1
architectureinteger(Architecture)

CPU アーキテクチャ。デフォルトは 0:

  • 0 — x86
  • 1 — ARM
Default:0
Enum:01
Example:0
curl -i -X POST \
  https://api.morelogin.com/env/advanced/ua/versions \
  -H 'Authorization: Bearer <YOUR_JWT_HERE>' \
  -H 'Content-Type: application/json' \
  -d '{
    "systemType": 1,
    "systemBitType": 1,
    "architecture": 0
  }'

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 objectsrequired
Response
{ "code": 0, "msg": null, "requestId": "0d8b6f1c-9f4e-4d02-9d1a-7c3f5a1b2c3d", "data": [ { … } ] }