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
Kindquery
Authorityhud.place
Commit rev3n3knrciylcju
Indexed

Query

query · GET

Parameters

query string

instance

requiredstring · at-uri

The instance's space, at:space/<authority DID>/place.hud.app.instance/<key>.

Output

text/event-stream

Errors

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

object

A member's repo in it changed: read its entries again.

Properties

version

requiredstring

The instance's version once HUD read it again, as getInstance and listAppEntries answer it.

  • maxLength: 128

#goneEvent

object

It was deleted: no one reads it from now on.

Properties

Similar lexicons

semantic match

Lexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.