wiki.lichen.getNote

lichen.wiki

Schema Diff

+3 -2

From

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

To

CID
bafyreifoum2xdfk...
Indexed At
2026-09-22 07:00 UTC
View this version

Compatibility Analysis

Breaking Changes Detected

1 breaking change, 0 non-breaking changes.

Breaking Changes (1)
  • RequiredEdgeAdded RequiredEdgeAdded { vertex_id: "wiki.lichen.getNote:output", src: "wiki.lichen.getNote:output", tgt: "wiki.lichen.getNote:output.createdAt", kind: "prop", name: Some("createdAt") }

Migration Guidance

Additional Notes

  • Breaking: RequiredEdgeAdded { vertex_id: "wiki.lichen.getNote:output", src: "wiki.lichen.getNote:output", tgt: "wiki.lichen.getNote:output.createdAt", kind: "prop", name: Some("createdAt") }
1 1
{
2 2
  "$type": "com.atproto.lexicon.schema",
3 3
  "defs": {
4 4
    "main": {
5 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 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 note record. Present only when the record's timestamp is a valid datetime.",
20 +
              "description": "The note record's own timestamp, in UTC. An unreadable or future-dated stamp falls back to our ingest time.",
21 21
              "format": "datetime",
22 22
              "type": "string"
23 23
            },
24 24
            "did": {
25 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 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. The appview computes this from the note's history.",
41 +
              "description": "The head revision's own timestamp, so appviews holding the same history agree. Same fallback as createdAt.",
42 42
              "format": "datetime",
43 43
              "type": "string"
44 44
            },
45 45
            "uri": {
46 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.",
47 47
              "format": "at-uri",
48 48
              "type": "string"
49 49
            },
50 50
            "wiki": {
51 51
              "format": "at-uri",
52 52
              "type": "string"
53 53
            }
54 54
          },
55 55
          "required": [
56 56
            "uri",
57 57
            "wiki",
58 58
            "did",
59 59
            "slug",
60 60
            "title",
61 61
            "content",
62 62
            "latestRevisionUri",
63 +
            "createdAt",
63 64
            "updatedAt"
64 65
          ],
65 66
          "type": "object"
66 67
        }
67 68
      },
68 69
      "parameters": {
69 70
        "properties": {
70 71
          "slug": {
71 72
            "description": "The note's slug, unique within its wiki. Use with wiki.",
72 73
            "maxGraphemes": 256,
73 74
            "maxLength": 2560,
74 75
            "type": "string"
75 76
          },
76 77
          "uri": {
77 78
            "description": "AT-URI of the note record. Supply this, or wiki and slug.",
78 79
            "format": "at-uri",
79 80
            "type": "string"
80 81
          },
81 82
          "wiki": {
82 83
            "description": "AT-URI of the wiki the note belongs to. Use with slug.",
83 84
            "format": "at-uri",
84 85
            "type": "string"
85 86
          }
86 87
        },
87 88
        "type": "params"
88 89
      },
89 90
      "type": "query"
90 91
    }
91 92
  },
92 93
  "id": "wiki.lichen.getNote",
93 94
  "lexicon": 1
94 95
}

Compare Other Versions

Lexicon Garden

@