Build

API

Every HTTP route and socket on Sōba's server, grouped by what it does, with who may call it.

The server answers at api.usesoba.xyz. Everything under /api/connections, /activity, /me, /portfolio, /glasses, /contacts, /watchlist, /shortcuts, /telegram, /calls, /trade, /ask, /earn needs a session cookie. Guests (Try, sandbox) can't add, change or remove connections or contacts (GET only there). CORS allows the website's origin only.

Sockets

PathAuthCarries
/ws/glassesPairing, then the pair's token inside the socketThe lens protocol: deck, interrupt, voice, actStatus, activity (≤ 40), prefs; from the plugin act, gesture, menu, view, mute, mic audio. A repeated tap (same request id) is answered, never re-run, for 15 min.
/ws/mirrorWebsite sessionPortfolio, mode, alerts, the glasses' view
/ws/demoPublic, 4 per IPDemo portfolio, deck, ticker

On this page