Skip to content

Android App First Download URL

API Description: Download the corresponding version based on the version number. If no version number is provided, it defaults to the latest version.

When users download the app for the first time, they need to download the latest version. This API request URL is fixed. If no version number is provided, it automatically gets the latest uploaded version, which can be placed in a fixed download button.

📮Request Information

Request URL

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

Request Parameters

Parameter NameRequiredTypeExample ValueDescription
apkKeyYesstringisVZBUvkFhv6oHxk_X-D0QUnique identifier for Android app
versionCodeNoint1App version code. If not provided, the latest version will be obtained

📮Response Information

Success

Directly downloads the installation package

Typical Error Response

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

📊Status Codes

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

toolsetlink@163.com