Skip to content

URL Application Initial Download URL

API Description: Based on 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/url/download?urlKey=OpggWISrLVRFa5y04LzkwA&versionCode=1

Request Parameter Description

Parameter NameRequiredTypeExampleDescription
urlKeyYesstringOpggWISrLVRFa5y04LzkwAUnique identifier for URL application
versionCodeNoint1Application version code, default to latest if not provided

📮Response Information

Success

Directly download the file

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/url/app-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