> For the complete documentation index, see [llms.txt](https://developer.eagle.cool/web-api/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://developer.eagle.cool/web-api/ja-jp/api/app.md).

# App

App API は、実行中の Eagle アプリケーションインスタンスの情報を提供します。

## エンドポイント一覧

| メソッド | エンドポイント            | 説明            |
| ---- | ------------------ | ------------- |
| GET  | `/api/v2/app/info` | アプリケーション情報を取得 |

***

## GET /api/v2/app/info <a href="#info" id="info"></a>

実行中の Eagle アプリケーションの情報（バージョン番号やプラットフォームの詳細など）を返します。

### レスポンス

```json
{
    "status": "success",
    "data": {
        "version": "4.0.0",
        "prereleaseVersion": null,
        "buildVersion": "build12",
        "platform": "win32"
    }
}
```

### 例

```javascript
await fetch("http://localhost:41595/api/v2/app/info").then(r => r.json());
```

***

## App のプロパティ <a href="#properties" id="properties"></a>

| プロパティ               | 型              | 説明                                                   |
| ------------------- | -------------- | ---------------------------------------------------- |
| `version`           | string         | Eagle のバージョン番号（例：`"4.0.0"`）                          |
| `prereleaseVersion` | string \| null | プレリリースバージョンの識別子、安定版の場合は `null`                       |
| `buildVersion`      | string \| null | ビルドバージョンの識別子（例：`"build12"`）                          |
| `platform`          | string         | オペレーティングシステム：`"win32"`（Windows）または `"darwin"`（macOS） |
