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

Query

query · GET

Parameters

query string

app

requiredstring · at-uri

The app's place.hud.app record.

kind

string

Which of its kinds of entry alone; all of them where absent.

  • maxLength: 64

Output

text/event-stream

Errors

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

object

An entry of the app's was written or deleted: read its entries again.

Properties

version

requiredstring

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 match

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