place.hud.getAppEvents
A published frame app's entries, live: an open stream of server-sent events (text/event-stream), one whenever HUD's index hears an entry of it (of kind, where given) written or deleted, at most one every 250 milliseconds, its writers' alone where the app names them. Each event's data is one JSON object, typed by its $type: #changedEvent (read its entries again, by listAppEntries). No entry is sent. HUD holds one stream of its index per app, shared by every page watching it; the stream ends when the index's does, or HUD stops, and a page reads by polling until it asks again. A comment, ping, comes every 25 seconds when nothing else does. No auth required; each address asks at most 120 times a minute, with listAppEntries, and holds at most 16 of these streams at once.
Details · query
| Kind | query |
|---|---|
| Authority | hud.place |
| Commit rev | 3n3m2rupxlgju |
| Indexed |
Query
query · GETParameters
query stringOutput
text/event-streamErrors
NotFound
HUD has no frame app of this id, or it has no kind of entry so named.
InvalidRequest
The params are not what the method takes: no app, among others.
RateLimitExceeded
This address asked too often in the last minute: ask again in a minute.
LimitReached
This address holds as many of these streams as it may, HUD hears as many apps as it may, or it is stopping: read by polling.
IndexUnavailable
This server names no index (HUD_INDEX) to hear entries from.
UpstreamFailure
The index refused, or could not be reached: read by polling.
#changedEvent
objectAn entry of the app's was written or deleted: read its entries again.
Properties
The index's mark of what it holds of them once it was written. Opaque: it need not be the version listAppEntries answers.
maxLength: 128
Similar lexicons
semantic matchLexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.
-
A private instance's changes, as server-sent events.
-
Word of the writes a spec's answer may change by, from HUD's index, as server-sent events.
-
place.hud.listAppEntries
queryEveryone's entries of a kind of a frame app.