update README to support new API endpoint for sessions

This commit is contained in:
Антон
2026-01-12 11:47:20 +03:00
parent 6df0f5e180
commit 848646003c

View File

@@ -238,6 +238,7 @@ VACUUM;"
| Method | Endpoint | Description | | Method | Endpoint | Description |
| :--- | :--- | :--- | | :--- | :--- | :--- |
| **GET** | `/stats` | Current status of all clients (Real-time). | | **GET** | `/stats` | Current status of all clients (Real-time). |
| **GET** | `/sessions` | **New** List of all active sessions (supports multi-device/user). |
| **GET** | `/stats/system` | Server-wide totals (Total traffic, active count). | | **GET** | `/stats/system` | Server-wide totals (Total traffic, active count). |
| **GET** | `/stats/<common_name>` | Detailed client stats + History. Params: `range` (24h, 7d), `resolution`. | | **GET** | `/stats/<common_name>` | Detailed client stats + History. Params: `range` (24h, 7d), `resolution`. |
| **GET** | `/certificates` | List of all certificates with expiration status. **Cached (Fast)**. | | **GET** | `/certificates` | List of all certificates with expiration status. **Cached (Fast)**. |