social.colibri.sync.subscribeEvents
Opens a WebSocket stream that transmits relevant events for the authenticated user.
Details · subscription
| Kind | subscription |
|---|---|
| Authority | sync.colibri.social |
| Indexed |
Subscription
subscription · WebSocketMessages
DAG-CBOR frameslex:social.colibri.sync.subscribeEvents#ack
objectlex:social.colibri.sync.subscribeEvents#communityEvent
objectlex:social.colibri.sync.subscribeEvents#memberEvent
objectlex:social.colibri.sync.subscribeEvents#categoryEvent
objectlex:social.colibri.sync.subscribeEvents#channelEvent
objectlex:social.colibri.sync.subscribeEvents#messageEvent
objectlex:social.colibri.sync.subscribeEvents#reactionEvent
objectlex:social.colibri.sync.subscribeEvents#userEvent
objectlex:social.colibri.sync.subscribeEvents#typingEvent
objectlex:social.colibri.sync.subscribeEvents#voicePresenceEvent
objectlex:social.colibri.sync.subscribeEvents#voiceStateEvent
objectErrors
AuthRequired
Missing, malformed, or unverifiable service auth.
#ack
objectSent in response to a heartbeat message.
Properties
const: "ack"
#categoryEvent
objectSent when a category has been created, updated, or deleted.
#categoryEventData
objectProperties
#channelEvent
objectSent when a channel has been created, updated, or deleted.
#channelEventData
object#communityEvent
objectSent when a community has been updated or deleted.
#communityEventData
objectProperties
banner
blobcategoryOrder
arraydescription
stringknownValues: upsert | delete
name
stringpicture
blobrequiresApprovalToJoin
boolean#humEnvelope
objectAn off-protocol event relayed between AppViews. The authenticated sender (inter-service auth JWT: aud = receiving AppView did:web, lxm = social.colibri.sync.sendHum) is the origin of record; `origin` is echoed for relay/loop control and MUST match the JWT issuer. Only off-protocol event types are permitted — on-protocol events are never carried by a Hum and are derived from the firehose instead.
Properties
Community the event is scoped to. Receiver relays to local clients only if they are members of this community.
Ephemeral event payload. Only off-protocol types are permitted.
- lex:social.colibri.sync.subscribeEvents#userEvent
- lex:social.colibri.sync.subscribeEvents#typingEvent
- lex:social.colibri.sync.subscribeEvents#voicePresenceEvent
- lex:social.colibri.sync.subscribeEvents#voiceStateEvent
Unique id for this Hum, used by receivers to dedup across relay paths.
maxLength: 64
DID of the AppView that first emitted this Hum.
The user this event is about. Receiver MUST verify origin equals subject's declared presenceService before trusting or relaying.
Remaining relay hops. Decremented on each forward; a Hum at ttl 0 is delivered locally but never relayed.
minimum: 0maximum: 8
#memberEvent
objectSent when a member has joined or left a community.
#memberEventData
objectProperties
knownValues: join | leave | roles_updated
member
refThe affected member, hydrated. Present on `join` and `roles_updated`.
- lex:social.colibri.sync.subscribeEvents#memberEventMember
memberDid
string · didDID of the member who left. Present on `leave`.
membership
string · at-uri#memberEventMember
objectThe affected member as carried by a member event. Mirrors `social.colibri.community.defs#memberView`, including the member's current voice channel state so a receiving client can place them in a voice channel without refetching.
Properties
- lex:social.colibri.actor.defs#actorData
joinedAt
string · datetimenickname
stringvc
string · at-uriAT-URI of the voice channel the member is currently connected to, if any. Only set when that channel belongs to `community`.
vcDeafened
booleanvcMuted
boolean#messageEvent
objectSent when a message has been sent, edited, or deleted.
#messageEventData
object#reactionEvent
objectSent when a reaction has been added to or removed from a message.
#reactionEventData
object#typingEvent
objectSent when a user is typing in a channel the client is viewing.
#typingEventData
object#userEvent
objectSent when a known user has updated their profile or Colibri status.
#userEventData
object#userProfile
objectProperties
#userStatus
object#voicePresenceEvent
objectSent when a user joins or leaves a voice channel.
#voicePresenceEventData
object#voiceStateEvent
objectSent when a user's voice state changes within a voice channel. `muted` and `deafened` are the user's own choices; `serverMuted` and `serverDeafened` are moderator-applied and enforced by the SFU. Each field is absent when unchanged.
#voiceStateEventData
objectProperties
Similar lexicons
semantic matchLexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.
-
Answers a heartbeat.
-
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.
-
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.
-
chat.bsky.moderation.subscribeModEvents
subscriptionSubscribe to stream of chat events targeted to moderation. Private endpoint.