From 702ecb7de4f0e09557cf092c17970ad6ad57122d Mon Sep 17 00:00:00 2001 From: NanamiAdmin Date: Tue, 17 Mar 2026 22:39:55 +0800 Subject: [PATCH] docs(api): update websocket endpoint and auth requirements --- docs/api.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/api.md b/docs/api.md index 7b2c069..658662c 100644 --- a/docs/api.md +++ b/docs/api.md @@ -715,9 +715,9 @@ X-Timestamp: 1704067200000 ## Real-time Log Streaming (WebSocket) -**Endpoint:** `/logs` +**Endpoint:** `/system/getLogs` **Protocol:** WebSocket -**Auth Required:** No (but requires authentication token in URL query parameter) +**Auth Required:** Yes (token) **Permission Level:** None Establish a WebSocket connection to receive real-time log streaming from the server.