Skip to content

Tauri Application Version Details

Interface Description: Get the corresponding version details based on the client's version number.

📮 Request Information

Request Address

POST https://api.upgrade.toolsetlink.com/v1/tauri/version

Request Headers

Parameter NameRequiredTypeExample ValueDescription
X-TimestampYesstring2025-02-17T10:34:55+08:00Request timestamp in RFC3339 format
X-NonceYesstringfc812cc0b9b51e8cUnique random string (at least 16 characters)
X-AccessKeyYesstringmui2W50H1j-OC4xD6PgQagAccess Key
X-SignatureYesstring3603437250c2df51fc46426ac79d8995Request signature Signature Rules
Content-TypeYesstringapplication/json

🔐 Anti-Replay Attack Mechanism

  1. Server validates timestamp difference with server time within ±5 minutes
  2. Server verifies if Nonce value already exists (prevents duplicate requests)

Request Body

json
{
    "tauriKey": "isVZBUvkFhv6oHxk_X-D0Q",
    "versionCode": 1,
    "target": "linux",
    "arch": "x86"
}

Request Body Parameter Description

Parameter NameRequiredTypeExample ValueDescription
tauriKeyYesstringisVZBUvkFhv6oHxk_X-D0QTauri application unique identifier
versionNameYesstring1.0.0Client version name
targetYesstringlinuxOperating system: linux, darwin, windows
archYesstringx86_64Machine architecture: x86_64, i686, aarch64, armv7

📮 Response Information

Success Response Body

json
{
  "code": 200,
  "msg": "New version obtained",
  "data": {
    "tauriKey": "isVZBUvkFhv6oHxk_X-D0Q",
    "versionName": "v2",
    "versionCode": 2,
    "target": "linux",
    "arch": "x86_64",
    "description": "Description content"
  }
}

Response Body Parameter Description

Parameter NameTypeExample ValueDescription
tauriKeystringisVZBUvkFhv6oHxk_X-D0QTauri application unique identifier
versionNamestringv1Version name
versionCodeint1Version code
targetstringlinuxOperating system: linux, darwin, windows
archstringx86Machine architecture: x86, arm64
descriptionstringDescription contentDescription content

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/apk/app-version.html",
  "data": null
}

📊 Status Codes

HTTP Status CodeCodeScenario DescriptionSolution
200200Request successful
400400001Illegal request
400400002Missing parameters
400400003Invalid parameters
400400004Invalid headers
400400005Invalid body
401401001Authentication failed
401401002Signature verification failed
404404001Resource not found
404404002Query record not found
404404003Processing method not found
404404004Request not found
500500001Server internal errorContact us Contact Us
500500002Server internal data validation failedContact us Contact Us

toolsetlink@163.com