コンテンツへスキップ

プロファイルの指紋を再生成

Request

ブラウザープロファイルの指紋を再生成します。

  • 前提条件:envId または uniqueId でプロファイルを指定します。暗号化されたプロファイルは拒否されます。起動中のプロファイルもブロックされませんが、新しい指紋は次回起動時から適用されます。
  • 副作用:新しい指紋を生成し、ホスト名と MAC アドレスをランダム化し、ブラウザーカーネルを再マッチングします。リクエストで明示した値は生成値より優先されます。
  • 完了シグナル:同期的です。
  • リトライ:自動リトライは絶対に行わないでください。 呼び出しごとに異なるランダムな指紋が生成されるため、タイムアウト後に無条件でリトライするとプロファイルが 2 度変更されます。まず /env/detail で比較してください。
  • Open API:リクエスト内の OS が優先されます。省略した場合は、プロファイルに保存されている OS を使って公開済みカーネルを選びます。クライアント情報は読み取りません。

文書化されたビジネスエラー: 19039, 19104, 19105, 19106, 19107, 19108, 19111, 19142, 19193。 各コードの意味は Error Codes を参照してください。どの操作でも共通コードが返る場合があります。

Security
OpenApiBearer
Bodyapplication/jsonrequired
envIdstring(EnvironmentId)^[1-9]\d*$

プロファイル ID。これか uniqueId のいずれかを指定します。

Example:"1800000000000001"
uniqueIdinteger, (int32)

プロファイル連番。これか envId のいずれかを指定します。

Example:1001
browserCoreinteger, >= 0

カーネルのメジャーバージョン。0 または省略した場合は自動で照合されます。

Example:124
uaVersioninteger, >= 0

UA のメジャーバージョン。0 または省略した場合は業務ルールに従って更新されます。

Example:124
browserTypeIdinteger(BrowserType)

ブラウザー種別:

  • 1 — Chrome
  • 2 — Firefox
Enum:12
Example:1
operatorSystemIdinteger(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
advancedSettingobject(AdvancedSetting)

動的な指紋設定。キーはプロファイルの高度な設定プロトコルに由来し、 値はキーに応じて文字列、数値、真偽値、配列、オブジェクトのいずれかになります。

Example:
{ "language": "en-US", "timezone": "America/Los_Angeles" }
curl -i -X POST \
  https://api.morelogin.com/env/fingerprint/refresh \
  -H 'Authorization: Bearer <YOUR_JWT_HERE>' \
  -H 'Content-Type: application/json' \
  -d '{
    "envId": "1800000000000001",
    "browserCore": 124,
    "uaVersion": 124,
    "browserTypeId": 1,
    "operatorSystemId": 1,
    "systemBitType": 1,
    "architecture": 0
  }'

Responses

Success

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"
datanull
Example:null
Response
{ "code": 0, "msg": null, "requestId": "1d4f3ea968664593860b94b35d4ebf5e", "data": null }