place.hud.getInstanceEvents
A private instance of a frame app, live: an open stream of server-sent events (text/event-stream), while the person is one of its members. Each event's data is one JSON object, typed by its $type: #changedEvent (a member's repo in it changed, as its host told HUD, and HUD read it again: read its entries again) or #goneEvent (it was deleted, and the stream ends). HUD hears of changes as the instance's syncer (com.atproto.space.notifySpaceUpdate); where its host can't tell HUD, none come, and a page reads again every 30 seconds. A comment, ping, comes every 25 seconds when nothing else does. Requires auth: the workspace's web session (its cookie) or a HUD access token as Bearer.
Details · query
| Kind | query |
|---|---|
| Authority | hud.place |
| Commit rev | 3n3knrciylcju |
| Indexed |
Query
query · GETParameters
query stringThe instance's space, at:space/<authority DID>/place.hud.app.instance/<key>.
Output
text/event-streamErrors
InvalidRequest
Not a space of place.hud.app.instance.
NotFound
It was deleted.
NotAMember
The person is not one of its members, or there is no such instance.
CannotRead
The person's PDS gives no delegation token to read it with.
AuthRequired
No live web session or HUD access token: sign in.
UpstreamFailure
A PDS refused, or could not be reached.
#changedEvent
objectA member's repo in it changed: read its entries again.
Properties
The instance's version once HUD read it again, as getInstance and listAppEntries answer it.
maxLength: 128
#goneEvent
objectIt was deleted: no one reads it from now on.
Properties
Similar lexicons
semantic matchLexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.
-
place.hud.getAppEvents
queryA frame app's entries' changes, as server-sent events.
-
place.hud.getInstance
queryA private instance of a frame app, as its members see it.
-
place.hud.listInstances
queryThe private instances of frame apps the person is in.
-
The signed-in person's workspace, live, as server-sent events.
-
place.hud.deleteInstance
procedureDelete a private instance of a frame app.