Skip to content

Electron App First Download URL

API Description: Based on version number, operating system, and machine architecture, download the corresponding version. If no version number is provided, the latest version is used by default.

When users first download the app, they need to download the latest version. This API request URL is fixed, and if no version number is provided, it automatically obtains the latest uploaded version, making it suitable for use in fixed download buttons.

📮 Request Information

Request URL

GET https://api.upgrade.toolsetlink.com/v1/electron/download?electronKey=LOYlLXNy7wV3ySuh0XgtSg&target=linux&arch=x86_64&versionCode=1

Request Parameters

Parameter NameRequiredTypeExample ValueDescription
electronKeyYesstringa0jtz0HUwL66r7gCGvbMKQUnique Electron app identifier
targetYesstringlinuxOperating system: linux, darwin, windows
archYesstringx86_64Machine architecture: x86_64, i686, aarch64, armv7
versionCodeNoint1App version code, defaults to latest version if not provided

📮 Response Information

Success

Directly initiates Electron version file download

Typical Error Response Body

json
{
  "code": 404001,
  "msg": "No available version obtained",
  "docs": "No corresponding application version found, please confirm whether it has been correctly created in the system. Please refer to the documentation: http://upgrade.toolsetlink.com/upgrade/recommend/tauri/app-version.html",
  "data": null
}

📊 Status Codes

HTTP Status CodeCodeScenario DescriptionSolution
200Direct file download
400400001Invalid request
400400002Parameter missing
400400003Invalid parameter
400400004Invalid header
400400005Invalid body
401401001Authentication failed
401401002Signature verification failed
404404001Resource not found
404404002Record not found
404404003Processing method not found
404404004Request not found
500500001Server internal errorPlease contact us Contact Us
500500002Server internal data verification failedPlease contact us Contact Us

toolsetlink@163.com