Tauri Application Download Address
Interface Description: Download the corresponding version based on version number, operating system, and machine architecture. 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 address of this interface is fixed. If no version number is provided, the latest uploaded version will be automatically obtained, which can be placed in a fixed download button.
📮 Request Information
Request Address
GET https://api.upgrade.toolsetlink.com/v1/tauri/download?tauriKey=LOYlLXNy7wV3ySuh0XgtSg&target=linux&arch=x86_64&versionCode=1
Request Parameter Description
| Parameter Name | Required | Type | Example Value | Description |
|---|---|---|---|---|
| tauriKey | Yes | string | a0jtz0HUwL66r7gCGvbMKQ | Tauri application unique identifier |
| target | Yes | string | linux | Operating system: linux, darwin, windows |
| arch | Yes | string | x86_64 | Machine architecture: x86_64, i686, aarch64, armv7 |
| versionCode | No | int | 1 | Application version number, defaults to latest version if not provided |
📮 Response Information
Success
Directly downloads the Tauri version file
Typical Error Response Body
json
{
"code": 404001,
"msg": "No available version found",
"docs": "The corresponding application version was not found. Please confirm if 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 Code | Code | Scenario Description | Solution |
|---|---|---|---|
| 200 | Direct file download | ||
| 400 | 400001 | Illegal request | |
| 400 | 400002 | Missing parameters | |
| 400 | 400003 | Invalid parameters | |
| 400 | 400004 | Invalid headers | |
| 400 | 400005 | Invalid body | |
| 401 | 401001 | Authentication failed | |
| 401 | 401002 | Signature verification failed | |
| 404 | 404001 | Resource not found | |
| 404 | 404002 | Query record not found | |
| 404 | 404003 | Processing method not found | |
| 404 | 404004 | Request not found | |
| 500 | 500001 | Server internal error | Contact us Contact Us |
| 500 | 500002 | Server internal data validation failed | Contact us Contact Us |