Skip to content

Download browser kernel

Request

Download and install browser kernel(s). Supports batch downloading up to 20 kernels per request. The timeout for this operation can be up to approximately 30 minutes; callers should set their timeout to greater than 1805 seconds.

Requires MoreLogin client version 2.61.1 or higher.

Duplicate Request Handling

  • If the same browser type and major version appears multiple times in a single request, only one lookup and download is performed, but each entry gets its own result.
  • Concurrent requests for the same version will join the in-flight task instead of starting a new download.
  • If the requested version is already installed with the latest minor version, the status will be already_installed.
  • If an older minor version is installed, it will be updated to the latest available minor version.

Error Code Reference

errorCodeDescription
INVALID_JSONMalformed JSON body
INVALID_REQUESTInvalid request structure
BATCH_LIMIT_EXCEEDEDCores array exceeds 20 items
UNSUPPORTED_BROWSER_TYPEUnsupported browser type
INVALID_VERSIONInvalid version format
METADATA_LOOKUP_FAILEDFailed to query kernel metadata
UNSUPPORTED_VERSIONKernel version does not exist or is not supported on this platform
CLIENT_NOT_READYClient not ready
SDK_NOT_READYSDK not initialized
INSUFFICIENT_DISK_SPACEInsufficient disk space
DOWNLOAD_FAILEDDownload failed
CHECKSUM_MISMATCHMD5 checksum verification failed
EXTRACTION_FAILEDExtraction or installation failed
TIMEOUTOperation timed out
UNKNOWNUnknown error
Bodyapplication/jsonrequired
CoresArray of objectsrequired

List of kernels to download (1–20 items)

curl -i -X POST \
  http://127.0.0.1:40000/api/env/core/download \
  -H 'Content-Type: application/json' \
  -d '{
    "Cores": [
      {
        "BrowserType": 1,
        "Version": "124"
      }
    ]
  }'

Responses

Success. data is an object with the fields total, succeeded, failed and results.

Headers
any
Bodyapplication/json
codeintegerrequired

Response code. 0:all succeeded; -1:partial success; -2:all failed

msgstring or null

Request-level error message; normally null on success

dataobjectrequired
requestIdstring

Unique request identifier; include it when contacting support

Response
{ "code": 0, "msg": null, "data": { "total": 1, "succeeded": 1, "failed": 0, "results": [ … ] } }