コンテンツへスキップ
Fumadocs

Subscribe to System Events

受信
/system/events
サーバー

Subscribe to system-wide notifications and alerts

System-wide events including maintenance notifications, rate limit alerts, and security events.

These events are broadcast to all connected clients and don't require specific subscriptions.

認可

headerAuthorizationBearer <JWT>

JWT Bearer token authentication for WebSocket connections

コードサンプル
const socket = new WebSocket("wss://galaxy.scalar.com/system/events?api_key=YOUR_API_KEY");

socket.addEventListener("message", (event) => {
  console.log(event.data);
});

メッセージ