zone.stratos.sync.subscribeRecords
Subscribe to stratos events. When 'did' is provided, subscribes to record updates for that account. When omitted, subscribes to service-level events (enrollments). Callers must authenticate with a signed service JWT via the Authorization: Bearer header.
Details · subscription
| Kind | subscription |
|---|---|
| Authority | sync.stratos.zone |
| Indexed |
Subscription
subscription · WebSocketParameters
query stringcursor
integerThe last known event sequence number to resume from.
did
string · didThe DID of the account to subscribe to. If omitted, subscribes to service-level enrollment events.
domain
stringOptional domain filter. Only events for records with this domain in their boundary will be emitted.
maxLength: 253
Messages
DAG-CBOR frames#commit
objectA commit event containing record operations.
#enrollment
objectAn enrollment event indicating a user has enrolled or unenrolled from the service.
#info
objectAn informational message about the subscription state.
Errors
FutureCursor
Cursor is in the future.
AuthRequired
Authentication is required.
#commit
objectA commit event containing record operations.
Properties
The DID of the account.
The repo revision.
The sequence number of this event.
Timestamp of when the event was sequenced.
#enrollment
objectAn enrollment event indicating a user has enrolled or unenrolled from the service.
Properties
The enrollment action.
maxLength: 32knownValues: enroll | unenroll
boundaries
arrayThe boundaries assigned to the user.
The DID of the user.
service
string · uriThe Stratos service endpoint URL.
Timestamp of the enrollment event.
#info
objectAn informational message about the subscription state.
#recordOp
objectA single record operation within a commit.
Similar lexicons
semantic matchLexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.
-
network.bsky.jetstream.subscribeEvents
subscriptionStream every archived and live Jetstream event in seq order, framed per the xrpc.v1.json subprotocol. The kinds, dids, and collections filters are independent predicates ANDed together; each is match-all when omitted. See the parameter and error descriptions for cursor, filtering, and compression semantics.