wiki.lichen.getWiki
Get a wiki. Pass viewer to also get what that DID can do with it. Public wikis only. Takes a DID, so resolve a handle to one first with com.atproto.identity.resolveHandle.
Details · query
| Kind | query |
|---|---|
| Authority | lichen.wiki |
| Indexed |
Query
query · GETParameters
query stringdid
string · didOwner of the wiki. Use with slug.
slug
string · record-keyThe wiki's slug, which is also its record key. Use with did.
maxLength: 512
uri
string · at-uriAT-URI of the wiki record. Supply this, or did and slug.
viewer
string · didAsk what this DID can do with the wiki. Check it before writing, because ingest keeps a revision only from a DID that can edit and drops the rest silently.
Output
application/jsonThe wiki record's own timestamp, in UTC. An unreadable or future-dated stamp falls back to our ingest time.
homeSlug
stringThe note shown as the wiki's front page, as the wiki record's homeSlug names it.
How many notes listNotes returns. A note counts once its first revision is ingested.
When this appview last saw the wiki or a note in it change. Observed locally, so appviews may legitimately disagree.
viewer
refPresent only when the viewer parameter was supplied.
Errors
NotFound
No description in schema.
#viewerState
objectSimilar lexicons
semantic matchLexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.
-
wiki.lichen.listWikis
queryList the public wikis a DID owns or belongs to. Returns them all in one response.
-
wiki.lichen.getNote
queryGet a note's current content and the head revision to write against. Public wikis only. A deleted note answers NoteDeleted.
-
wiki.lichen.wiki
recordA wiki. The rkey is a permanent slug.
-
wiki.lichen.listNotes
queryList a public wiki's notes, each with its head revision. Compare latestRevisionUri with what you hold, then call getNote for the notes that changed.
-
wiki.lichen.membership
recordA membership grant for a wiki. The rkey is a TID. The member's DID lives in the record body.