# 检查服务器是否正确响应请求 / Check if the server responds to requests correctly

## OpenAPI Specification

```yaml
openapi: 3.0.1
info:
  title: ''
  description: ''
  version: 1.0.0
paths:
  /api/v1/health/check:
    get:
      summary: 检查服务器是否正确响应请求 / Check if the server responds to requests correctly
      deprecated: false
      description: >-
        # [中文]


        ### 用途说明:


        - 检查服务器是否正确响应请求（存活探测，不检查任何依赖）。


        ### 参数说明:


        - 无参数。


        ### 返回结果:


        - `status`: 服务器状态，正常为 `ok`。


        # [English]


        ### Purpose:


        - Check if the server responds to requests correctly (liveness probe, no
        dependency checks).


        ### Parameter Description:


        - No parameters.


        ### Return Result:


        - `status`: Server status, normal is `ok`.
      operationId: health_check_api_v1_health_check_get
      tags:
        - Health-Check
        - Health-Check
      parameters: []
      responses:
        '200':
          description: 服务器响应成功 / Server responds successfully
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HealthCheckResponse'
              example:
                status: ok
          headers: {}
          x-apifox-name: OK
      security: []
      x-apifox-folder: Health-Check
      x-apifox-status: released
      x-run-in-apifox: https://app.apifox.com/web/project/4705614/apis/api-237673542-run
components:
  schemas:
    HealthCheckResponse:
      properties:
        status:
          type: string
          title: Status
          default: ok
      type: object
      title: HealthCheckResponse
      x-apifox-orders:
        - status
      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: []

```
