wiki.lichen.noteRevision
A revision to a note. It holds either a diff from the previous revision or the complete new body, depending on diffFormat.
Details · record, key tid
| Kind | record |
|---|---|
| Record key | tid |
| Authority | lichen.wiki |
| Indexed |
Record
record · key tidProperties
blobs
arrayBlobs the content references. Each is identified by the uploading repo's DID and the blob CID. Content points at one with , the path lichen serves it from. Listing the ref here keeps the blob alive in the PDS.
maxSize: 2097152accept: image/jpeg, image/png, image/gif, image/webp
When this revision was created.
The revision payload. With "diff-match-patch" it is a patch against parentRevision. With "full-text" it is the note's whole new body, and it is only accepted when parentRevision is the current head.
maxLength: 1000000
How to read the diff field. "diff-match-patch" means a patch against parentRevision. "full-text" means the whole note body.
maxLength: 32knownValues: diff-match-patch | full-text
message
stringOptional commit message describing this revision.
maxLength: 10240maxGraphemes: 1024
AT-URI of the parent note record.
parentRevision
string · at-uriAT-URI of the previous revision. Omitted for the first revision of a note.
status
stringSet to "deleted" to take the note out of its wiki, keeping its history, and to "live" to restore it. A revision without it keeps the status.
maxLength: 32knownValues: live | deleted
title
stringRenames the note from this revision on. A revision that leaves it out keeps the title.
maxLength: 2560maxGraphemes: 256
Similar lexicons
semantic matchLexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.
-
wiki.lichen.noteSnapshot
recordA 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
recordA note within a wiki. The rkey is a TID. Human-readable slug lives in the record body.
-
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.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.
-
world.ptah.version
recordEdit history within a work. Tracks the evolution from draft to published to revised — every version, every change.