social.colibri.sync.subscribeHums
Egress-only WebSocket stream of Hums this AppView is relaying. Peers subscribe to receive off-protocol events for shared communities, optionally narrowing to declared `communities` (repeated query param). Requires inter-service auth (subprotocol-carried, as with subscribeEvents). Clients cannot send messages on this stream.
Details · subscription
| Kind | subscription |
|---|---|
| Authority | sync.colibri.social |
| Indexed |
Showing version bafyreiarn65rrwqgwoac2xriisqfesjkeuk4uz6yda5weyciqsrf5od47q. Show the latest
Subscription
subscription · WebSocketParameters
query stringcommunities
arrayDIDs of the communities the peer wants Hums for, repeated once per community. Narrowing only: the intersection with what the peer is authorised for is what gets streamed, so declaring a community grants nothing. Omit it entirely to receive every authorised community.
Messages
DAG-CBOR frameslex:social.colibri.sync.subscribeEvents#humEnvelope
objectErrors
AuthRequired
Missing, malformed, or unverifiable service auth.
NotEnabled
Humming is disabled on this AppView.
TooManySubscribers
The hub is at its subscribeHums connection limit.
Similar lexicons
semantic matchLexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.
-
social.colibri.beta.sync.subscribeEvents
subscriptionLive updates for one account over a WebSocket. Frames are JSON text, each an object tagged with $type. The client sends the social.colibri.beta.sync.defs frames subscribe, unsubscribe, heartbeat, typing, viewChannel, activity, wroteTo and setPresence. The connection is sent nothing for a community or channel it did not subscribe to.
-
Informs this AppView of an off-protocol event that occurred on a peer AppView. Requires inter-service auth: a JWT signed by the caller's AppView signing key, aud = this AppView's did:web, lxm = social.colibri.sync.sendHum. The receiver drops the Hum unless the JWT issuer equals both the envelope `origin` and the `subject`'s declared presenceService.
-
Opens a WebSocket stream that transmits relevant events for the authenticated user.