chat.yakka.getSnapshot

Everything needed for first paint, in one round trip: the viewer's servers, the active server's channels and roster, and one channel's newest timeline page. One method rather than five because this is the server-rendered path — every extra round trip here is latency a reader sees before anything appears. Warm navigations do not call it at all; the client's store already holds the answer.

Repository @yakka.chat did:plc:wpjoy2orkqq5m65vq7gg7liz namespace authority
Details · query
Kindquery
Authorityyakka.chat
Indexed

Query

query · GET

Parameters

query string

channel

string

Which channel's timeline to include. Omit for the server's default.

server

string · did

Which server to open. Omit to let the appview choose the viewer's first.

Output

application/json
Reference

#output

object

Properties

activeServerDid

string · did

channels

requiredarray
itemsref

members

requiredarray
itemsref

servers

requiredarray
itemsref

Similar lexicons

semantic match

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

  • Viewer state, kept apart from the channel because it changes on every read while the channel rarely changes.