> ## Documentation Index
> Fetch the complete documentation index at: https://gowa-docs.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# 获取服务器元数据

> 返回服务器版本、基础路径、媒体大小限制以及启用的功能。 不需要设备；原先从嵌入式仪表盘HTML中读取这些值的独立UI(gowa-ui) 。




## OpenAPI

````yaml /zh/openapi.yml get /app/info
openapi: 3.0.0
info:
  title: WhatsApp API 多设备
  version: 9.7.0
  description: |
    此 API 用于通过 API 发送什么应用。

    Web 仪表板是一个单独的项目(gowa-ui)； 服务器下载它的
    最新版本资产并在 `/` 处服务(或在
    APP_UI_ENABLED=false时返回一个 JSON 横幅)。

    设备范围：
    - 在所有设备范围的REST 调用上发送 `X-Device-Id` 。
    - WebSocket: 连接到"/w?device_id=<id>`.
    - WebSocket 身份验证（启用基本身份验证时）：浏览器无法为
      WebSocket 连接设置 Authorization 请求头，因此还需在
      查询字符串中传入 `&authorization=<base64(user:pass)>`。 在
      生产中使用TLS ，因为凭据在 URL 中可见。
servers:
  - url: http://localhost:3000
security:
  - basicAuth: []
tags:
  - name: app
    description: 初始连接到 Whatsapp 服务器
  - name: device
    description: 多设备支持的设备管理
  - name: user
    description: 获取信息
  - name: send
    description: 发送消息 (Text/Image/File/Video)。
  - name: message
    description: 消息操作 (撤销/react/update)。
  - name: call
    description: 通话管理 (拒绝来电)
  - name: chat
    description: 聊天对话和消息
  - name: group
    description: 组设置
  - name: newsletter
    description: 通讯设置
  - name: chatwoot
    description: 客户支持的聊天窗口集成
paths:
  /app/info:
    get:
      tags:
        - app
      summary: 获取服务器元数据
      description: |
        返回服务器版本、基础路径、媒体大小限制以及启用的功能。 不需要设备；原先从嵌入式仪表盘HTML中读取这些值的独立UI(gowa-ui) 。
      operationId: appInfo
      responses:
        '200':
          description: 好的
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    type: integer
                    example: 200
                  code:
                    type: string
                    example: SUCCESS
                  message:
                    type: string
                    example: Fetch app info success
                  results:
                    type: object
                    properties:
                      version:
                        type: string
                        example: v9.0.0
                      os:
                        type: string
                        example: GOWA
                      base_path:
                        type: string
                        example: ''
                      max_file_size:
                        type: integer
                        format: int64
                        description: 最大文件上传大小（字节）
                        example: 50000000
                      max_video_size:
                        type: integer
                        format: int64
                        description: 最大视频上传大小（字节）
                        example: 100000000
                      max_image_size:
                        type: integer
                        format: int64
                        description: 最大图像上传大小（字节）
                        example: 20000000
                      chatwoot_enabled:
                        type: boolean
                        description: Chatwoot 集成路径是否已注册
                      scheduled_sends:
                        type: boolean
                        description: 发送端点是否接受调度字段和/发送/调度路由
        '500':
          description: 服务器内部错误
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorInternalServer'
components:
  schemas:
    ErrorInternalServer:
      type: object
      properties:
        code:
          type: string
          example: INTERNAL_SERVER_ERROR
          description: SYSTEM_CODE_ERROR
        message:
          type: string
          example: you are not loggin
          description: 详细错误消息
        results:
          type: object
          example: null
          description: 附加数据
  securitySchemes:
    basicAuth:
      type: http
      scheme: basic

````

## Related topics

- [获取服务器健康度量表](https://gowa-docs.mintlify.site/zh/api-reference/app/获取服务器健康度量表.md)
- [获取简讯(通道) 元数据](https://gowa-docs.mintlify.site/zh/api-reference/newsletter/获取简讯通道-元数据.md)
- [从新闻消息下载媒体](https://gowa-docs.mintlify.site/zh/api-reference/newsletter/从新闻消息下载媒体.md)
- [MCP 服务器](https://gowa-docs.mintlify.site/zh/integrations/mcp.md)
- [获取最新消息(通道)](https://gowa-docs.mintlify.site/zh/api-reference/newsletter/获取最新消息通道.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.