wiki.lichen.getNote

lichen.wiki

Schema Diff

+7 -6

From

CID
bafyreiaqvr2nwsy...
Indexed At
2026-09-05 09:35 UTC
View this version

To

CID
bafyreifudopxlj3...
Indexed At
2026-09-08 05:54 UTC
View this version

Compatibility Analysis

Backward Compatible

No changes detected.

1 1
{
2 2
  "$type": "com.atproto.lexicon.schema",
3 3
  "defs": {
4 4
    "main": {
5 -
      "description": "Resolve a note and return its current content together with the head revision to write against. Public wikis only.",
5 +
      "description": "Get a note's current content and the head revision to write against. Public wikis only.",
6 6
      "errors": [
7 7
        {
8 8
          "name": "NotFound"
9 9
        }
10 10
      ],
11 11
      "output": {
12 12
        "encoding": "application/json",
13 13
        "schema": {
14 14
          "properties": {
15 15
            "content": {
16 -
              "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.",
16 +
              "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.",
17 17
              "type": "string"
18 18
            },
19 19
            "createdAt": {
20 -
              "description": "Copied from the record. Absent when the record carried a stamp we cannot represent as a datetime.",
20 +
              "description": "Copied from the note record. Present only when the record's timestamp is a valid datetime.",
21 21
              "format": "datetime",
22 22
              "type": "string"
23 23
            },
24 24
            "did": {
25 -
              "description": "Who created the note record. Later revisions may be by anyone who may edit the wiki.",
25 +
              "description": "The DID that created the note record. Later revisions can come from anyone allowed to edit the wiki.",
26 26
              "format": "did",
27 27
              "type": "string"
28 28
            },
29 29
            "latestRevisionUri": {
30 -
              "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.",
30 +
              "description": "The head revision. Set it as parentRevision on your noteRevision to write against this content. Only a revision parented here moves the note.",
31 31
              "format": "at-uri",
32 32
              "type": "string"
33 33
            },
34 34
            "slug": {
35 35
              "type": "string"
36 36
            },
37 37
            "title": {
38 38
              "type": "string"
39 39
            },
40 40
            "updatedAt": {
41 -
              "description": "When the head last moved. Appview-derived, not a record field.",
41 +
              "description": "When the head last moved. The appview computes this from the note's history.",
42 42
              "format": "datetime",
43 43
              "type": "string"
44 44
            },
45 45
            "uri": {
46 +
              "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.",
46 47
              "format": "at-uri",
47 48
              "type": "string"
48 49
            },
49 50
            "wiki": {
50 51
              "format": "at-uri",
51 52
              "type": "string"
52 53
            }
53 54
          },
54 55
          "required": [
55 56
            "uri",
56 57
            "wiki",
57 58
            "did",
58 59
            "slug",
59 60
            "title",
60 61
            "content",
61 62
            "latestRevisionUri",
62 63
            "updatedAt"
63 64
          ],
64 65
          "type": "object"
65 66
        }
66 67
      },
67 68
      "parameters": {
68 69
        "properties": {
69 70
          "slug": {
70 71
            "description": "The note's slug, unique within its wiki. Use with wiki.",
71 72
            "maxGraphemes": 256,
72 73
            "maxLength": 2560,
73 74
            "type": "string"
74 75
          },
75 76
          "uri": {
76 77
            "description": "AT-URI of the note record. Supply this, or wiki and slug.",
77 78
            "format": "at-uri",
78 79
            "type": "string"
79 80
          },
80 81
          "wiki": {
81 82
            "description": "AT-URI of the wiki the note belongs to. Use with slug.",
82 83
            "format": "at-uri",
83 84
            "type": "string"
84 85
          }
85 86
        },
86 87
        "type": "params"
87 88
      },
88 89
      "type": "query"
89 90
    }
90 91
  },
91 92
  "id": "wiki.lichen.getNote",
92 93
  "lexicon": 1
93 94
}

Compare Other Versions

Lexicon Garden

@