wiki.lichen.getNote
{
"$type": "com.atproto.lexicon.schema",
"defs": {
"main": {
"description": "Resolve a note and return its current content together with the head revision to write against. Public wikis only.",
"errors": [
{
"name": "NotFound"
}
],
"output": {
"encoding": "application/json",
"schema": {
"properties": {
"content": {
"description": "The note's markdown exactly as its last revision left it. No frontmatter is added and no wikilinks are rewritten — writing this text back unchanged must produce an empty revision.",
"type": "string"
},
"createdAt": {
"description": "Copied from the record. Absent when the record carried a stamp we cannot represent as a datetime.",
"format": "datetime",
"type": "string"
},
"did": {
"description": "Who created the note record. Later revisions may be by anyone who may edit the wiki.",
"format": "did",
"type": "string"
},
"latestRevisionUri": {
"description": "The head. Set it as parentRevision on a wiki.lichen.noteRevision to write against this content; a revision parented anywhere else does not move the note.",
"format": "at-uri",
"type": "string"
},
"slug": {
"type": "string"
},
"title": {
"type": "string"
},
"updatedAt": {
"description": "When the head last moved. Appview-derived, not a record field.",
"format": "datetime",
"type": "string"
},
"uri": {
"format": "at-uri",
"type": "string"
},
"wiki": {
"format": "at-uri",
"type": "string"
}
},
"required": [
"uri",
"wiki",
"did",
"slug",
"title",
"content",
"latestRevisionUri",
"updatedAt"
],
"type": "object"
}
},
"parameters": {
"properties": {
"slug": {
"description": "The note's slug, unique within its wiki. Use with wiki.",
"maxGraphemes": 256,
"maxLength": 2560,
"type": "string"
},
"uri": {
"description": "AT-URI of the note record. Supply this, or wiki and slug.",
"format": "at-uri",
"type": "string"
},
"wiki": {
"description": "AT-URI of the wiki the note belongs to. Use with slug.",
"format": "at-uri",
"type": "string"
}
},
"type": "params"
},
"type": "query"
}
},
"id": "wiki.lichen.getNote",
"lexicon": 1
}
Metadata
- DID
-
did:plc:xfs42pjf3n7imvgrdrp7xvez - CID
-
bafyreiaqvr2nwsyngtz2ubooedegv5mv4bgavcmtju24jok3goixgnslfq - Indexed At
- 2026-09-05 09:35 UTC
- AT-URI
-
at://did:plc:xfs42pjf3n7imvgrdrp7xvez/com.atproto.lexicon.schema/wiki.lichen.getNote
Version History (3 versions)
Similar Lexicons
Lexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.
-
wiki.lichen.listNotes query
List 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.getWiki query
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.
-
wiki.lichen.noteSnapshot record
A contributor's full copy of a note as they last saved it. Revisions define the note. The rkey is the note's rkey.
-
wiki.lichen.note record
A note within a wiki. The rkey is a TID. Human-readable slug lives in the record body.
-
wiki.lichen.noteRevision record
A revision to a note. It holds either a diff from the previous revision or the complete new body, depending on diffFormat.