- Update API specs for 2.4

- Update API docs
- Regenerate Python docs
This commit is contained in:
Cyber MacGeddon 2026-05-28 17:46:55 +01:00
parent 961ad35469
commit 1c9a3b5b5a
62 changed files with 2036 additions and 1949 deletions

View file

@ -15,6 +15,11 @@ class WebSocketManager:
self.token = token
self.socket = None
# FIXME: authentication is broken. The /api/v1/socket endpoint uses
# in-band auth (first-frame protocol via the Mux dispatcher), not
# query-parameter tokens. This query-string token is silently ignored.
# Fix: after connect(), send an auth frame with the bearer token as
# the first message, matching the gateway's in-band auth protocol.
def _build_url(self):
if not self.token:
return self.url