> ## 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 /ja/openapi.yml get /app/info
openapi: 3.0.0
info:
  title: WhatsApp API マルチデバイス
  version: 9.7.0
  description: |
    この API は API 経由で whatsapp を送信するために使用されます。

    Web ダッシュボードは別のプロジェクトです (gowa-ui); サーバーは
    最新のリリースアセットをダウンロードし、`/`で動作します（または、
    APP_UI_ENABLED=falseの場合はJSONバナーを返します）。

    デバイススコープ:
    - すべてのデバイススコープの REST コールで `X-Device-Id` を送信します。
    - WebSocket: `/wsに接続しますか？device_id=<id> ` 。
    - WebSocket 認証（Basic Auth が有効な場合）: ブラウザーは WebSocket 接続で
      Authorization ヘッダーを設定できないため、クエリ文字列にも
      `&authorization=<base64(user:pass)>` を渡してください。 認証情報が URL に表示されるため、本番環境では
      TLS を使用してください。
servers:
  - url: http://localhost:3000
security:
  - basicAuth: []
tags:
  - name: app
    description: Whatsappサーバーへの初期接続
  - name: device
    description: マルチデバイスサポートのためのデバイス管理
  - name: user
    description: 情報の取得
  - name: send
    description: メッセージ (テキスト/イメージ/ファイル/ビデオ) を送信します。
  - name: message
    description: メッセージ操作 (revoke/react/update)
  - name: call
    description: 通話管理 (着信拒否)
  - name: chat
    description: チャットとメッセージ
  - name: group
    description: グループ設定
  - name: newsletter
    description: ニュースレターの設定
  - name: chatwoot
    description: カスタマーサポートのためのChatwoot統合
paths:
  /app/info:
    get:
      tags:
        - app
      summary: サーバーのメタデータを取得する
      description: >
        サーバーのバージョン、基本パス、メディアサイズ制限、および有効な機能を返します。
        デバイスは必要ありません。以前に埋め込みダッシュボードHTMLからこれらの値を読み取るスタンドアロンのUI(gowa-ui)を目的としていました。
      operationId: appInfo
      responses:
        '200':
          description: OK
          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: 送信エンドポイントがスケジュールフィールドと/send/schedulesルートを受け入れるかどうか
        '500':
          description: 内部サーバーエラー
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorInternalServer'
components:
  schemas:
    ErrorInternalServer:
      type: object
      properties:
        code:
          type: string
          example: INTERNAL_SERVER_ERROR
          description: システムのコードにエラー
        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/ja/api-reference/newsletter/ニュースレター（チャンネル）のメタデータを取得する.md)
- [サーバーの健全性指標を取得する](https://gowa-docs.mintlify.site/ja/api-reference/app/サーバーの健全性指標を取得する.md)
- [ユーザーの連絡先のリストを取得する](https://gowa-docs.mintlify.site/ja/api-reference/user/ユーザーの連絡先のリストを取得する.md)
- [最新のニュースレター（チャンネル）メッセージを取得する](https://gowa-docs.mintlify.site/ja/api-reference/newsletter/最新のニュースレター（チャンネル）メッセージを取得する.md)
- [接続状況を取得する](https://gowa-docs.mintlify.site/ja/api-reference/app/接続状況を取得する.md)


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