wiki.lichen.getNote
{
"$type": "com.atproto.lexicon.schema",
"defs": {
"main": {
"description": "Get a note's current content and the head revision to write against. Public wikis only.",
"errors": [
{
"name": "NotFound"
}
],
"output": {
"encoding": "application/json",
"schema": {
"properties": {
"content": {
"description": "The note's body as its last revision left it, byte for byte. Frontmatter and wikilinks stay exactly as the author wrote them. Writing this text back unchanged produces an empty revision.",
"type": "string"
},
"createdAt": {
"description": "Copied from the note record. Present only when the record's timestamp is a valid datetime.",
"format": "datetime",
"type": "string"
},
"did": {
"description": "The DID that created the note record. Later revisions can come from anyone allowed to edit the wiki.",
"format": "did",
"type": "string"
},
"latestRevisionUri": {
"description": "The head revision. Set it as parentRevision on your noteRevision to write against this content. Only a revision parented here moves the note.",
"format": "at-uri",
"type": "string"
},
"slug": {
"type": "string"
},
"title": {
"type": "string"
},
"updatedAt": {
"description": "When the head last moved. The appview computes this from the note's history.",
"format": "datetime",
"type": "string"
},
"uri": {
"description": "AT-URI of the note record. The rkey is a TID, so read it from here or address the note by wiki and slug.",
"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
-
bafyreifudopxlj3wg27twxx3w5hz3whpfaq55rk5ds6342nktyoefnzdpe - Indexed At
- 2026-09-08 05:54 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.