# 检查TikHub下载器的版本更新 / Check for TikHub Downloader version updates

## OpenAPI Specification

```yaml
openapi: 3.0.1
info:
  title: ''
  description: ''
  version: 1.0.0
paths:
  /api/v1/tikhub/downloader/version:
    get:
      summary: 检查TikHub下载器的版本更新 / Check for TikHub Downloader version updates
      deprecated: false
      description: |-
        # [中文]

        ### 用途说明:

        - 检查TikHub下载器的版本更新。

        ### 参数说明:

        - 无参数。

        ### 返回结果:

        - `latest_version`: 最新版本号。
        - `update_date`: 更新日期。
        - `download_url`: 下载链接。
        - `upload_note`: 更新说明。

        # [English]

        ### Purpose:

        - Check for TikHub Downloader version updates.

        ### Parameter Description:

        - No parameters.

        ### Return Result:

        - `latest_version`: Latest version number.
        - `update_date`: Update date.
        - `download_url`: Download link.
        - `upload_note`: Update note.
      operationId: update_check_api_v1_tikhub_downloader_version_get
      tags:
        - TikHub-Downloader-API
        - TikHub-Downloader-API
      parameters: []
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UpdateCheckResponse'
          headers: {}
          x-apifox-name: OK
      security: []
      x-apifox-folder: TikHub-Downloader-API
      x-apifox-status: released
      x-run-in-apifox: https://app.apifox.com/web/project/4705614/apis/api-271495949-run
components:
  schemas:
    UpdateCheckResponse:
      properties:
        latest_version:
          type: string
          title: Latest Version
          default: 1.0.0
        update_date:
          type: string
          title: Update Date
          default: '2025-03-17'
        download_url:
          type: string
          title: Download Url
          default: >-
            https://github.com/TikHub/TikHub-Multi-Functional-Downloader/releases/tag/V1.0.0
        latest_download_url_win:
          type: string
          title: Latest Download Url Win
          default: >-
            https://github.com/TikHub/TikHub-Multi-Functional-Downloader/releases/download/V1.0.0/TikHub_Downloader-Windows-1.0.0.exe
        latest_download_url_mac:
          type: string
          title: Latest Download Url Mac
          default: >-
            https://github.com/TikHub/TikHub-Multi-Functional-Downloader/archive/refs/tags/V1.0.0.zip
        upload_note:
          type: string
          title: Upload Note
          default: Bug fixes and performance improvements
      type: object
      title: UpdateCheckResponse
      x-apifox-orders:
        - latest_version
        - update_date
        - download_url
        - latest_download_url_win
        - latest_download_url_mac
        - upload_note
      x-apifox-ignore-properties: []
      x-apifox-folder: ''
  securitySchemes:
    HTTPBearer:
      type: bearer
      description: >
        ----

        #### API Token Introduction:

        ##### Method 1: Use API Token in the Request Header (Recommended)

        - **Header**: `Authorization`

        - **Format**: `Bearer {token}`

        - **Example**: `{"Authorization": "Bearer your_token"}`

        - **Swagger UI**: Click on the `Authorize` button in the upper right
        corner of the page to enter the API token directly without the `Bearer`
        keyword.


        ##### Method 2: Use API Token in the Cookie (Not Recommended, Use Only
        When Method 1 is Unavailable)

        - **Cookie**: `Authorization`

        - **Format**: `Bearer {token}`

        - **Example**: `Authorization=Bearer your_token`


        #### Get API Token:

        1. Register and log in to your account on the TikHub website.

        2. Go to the user center, click on the API token menu, and create an API
        token.

        3. Copy and use the API token in the request header.

        4. Keep your API token confidential and use it only in the request
        header.


        ----


        #### API令牌简介:

        ##### 方法一：在请求头中使用API令牌（推荐）

        - **请求头**: `Authorization`

        - **格式**: `Bearer {token}`

        - **示例**: `{"Authorization": "Bearer your_token"}`

        - **Swagger UI**: 点击页面右上角的`Authorize`按钮，直接输入API令牌，不需要`Bearer`关键字。


        ##### 方法二：在Cookie中使用API令牌（不推荐，仅在无法使用方法一时使用）

        - **Cookie**: `Authorization`

        - **格式**: `Bearer {token}`

        - **示例**: `Authorization=Bearer your_token`


        #### 获取API令牌:

        1. 在TikHub网站注册并登录账户。

        2. 进入用户中心，点击API令牌菜单，创建API令牌。

        3. 复制并在请求头中使用API令牌。

        4. 保密您的API令牌，仅在请求头中使用。
      scheme: bearer
servers:
  - url: https://api.tikhub.io
    description: Production Environment
security: []

```
