update README to support new API endpoint for sessions
This commit is contained in:
@@ -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)**. |
|
||||||
|
|||||||
Reference in New Issue
Block a user