Skip to content

Linux Application Initial Download URL

API Description: Based on the version number, download the corresponding version. If no version number is provided, the latest version will be downloaded by default.

When users download the application for the first time, they need to download the latest version. The request URL for this API is fixed, and if no version number is provided, it will automatically get the latest uploaded version. It can be placed in a fixed download button.

📮Request Information

Request URL

GET https://api.upgrade.toolsetlink.com/v1/apk/download?lnxKey=isVZBUvkFhv6oHxk_X-D0Q&versionCode=1&arch=x64

Request Parameter Description

Parameter NameRequiredTypeExampleDescription
linuxKeyYesstringisVZBUvkFhv6oHxk_X-D0QUnique identifier for Linux application
versionCodeNoint1Application version code, default to latest if not provided
archYesstringx64Machine architecture: x64, arm64

📮Response Information

Success

Directly download the installation package

Typical Error Response Body

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

📊Status Codes

HTTP Status CodecodeScenario DescriptionSolution
200Direct file download
400400001Invalid request
400400002Missing parameters
400400003Invalid parameters
400400004Invalid headers
400400005Invalid request body
401401001Authentication failed
401401002Signature verification failed
404404001Resource not found
404404002Record not found
404404003Processing method not found
404404004Request not found
500500001Internal server errorPlease contact us Contact Us
500500002Internal server data validation failedPlease contact us Contact Us

toolsetlink@163.com