重新生成浏览器的指纹。
- 前置条件:用
envId或uniqueId指定浏览器。加密浏览器会被拒绝。运行中的浏览器不会被阻止,但新指纹从下次启动才开始生效。 - 副作用:生成一套新指纹,随机化主机名与 MAC 地址,并重新匹配浏览器内核。请求中显式给出的值优先于生成值。
- 完成信号:同步。
- 重试:绝对不要自动重试。 每次调用都会产生一套不同的随机指纹,因此超时后盲目重试会把配置改第二次。请先用
/env/detail比对。 - Open API:请求中的操作系统优先;未传时使用浏览器上已保存的操作系统来挑选已发布内核。不读取任何客户端信息。
已记录的业务错误码:19039, 19104, 19105, 19106, 19107, 19108, 19111, 19142, 19193。 各错误码的含义见 Error Codes。任何接口还可能返回通用错误码。
Security
OpenApiBearer
操作系统:
1— Windows2— macOS3— Android4— iOS5— Linux
Enum:12345
Example:1
- https://api.morelogin.comhttps://api.morelogin.com/env/fingerprint/refresh
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
}'Success
Operation request ID. This field may be present when the request passes through the API gateway.
Example:"1d4f3ea968664593860b94b35d4ebf5e"
Response
{ "code": 0, "msg": null, "requestId": "1d4f3ea968664593860b94b35d4ebf5e", "data": null }