wiki.lichen.listNotes
Schema Diff
+1 -1
Compatibility Analysis
Backward Compatible
No changes detected.
1
1
{
2
2
"$type": "com.atproto.lexicon.schema",
3
3
"defs": {
4
4
"main": {
5
5
"description": "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.",
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
"cursor": {
16
16
"description": "Absent on the last page.",
17
17
"type": "string"
18
18
},
19
19
"notes": {
20
20
"items": {
21
21
"ref": "#noteView",
22
22
"type": "ref"
23
23
},
24
24
"type": "array"
25
25
}
26
26
},
27
27
"required": [
28
28
"notes"
29
29
],
30
30
"type": "object"
31
31
}
32
32
},
33
33
"parameters": {
34
34
"properties": {
35
35
"cursor": {
36
36
"type": "string"
37
37
},
38
38
"limit": {
39
39
"default": 50,
40
40
"maximum": 100,
41
41
"minimum": 1,
42
42
"type": "integer"
43
43
},
44
44
"wiki": {
45
45
"description": "AT-URI of the wiki record.",
46
46
"format": "at-uri",
47
47
"type": "string"
48
48
}
49
49
},
50
50
"required": [
51
51
"wiki"
52
52
],
53
53
"type": "params"
54
54
},
55
55
"type": "query"
56
56
},
57
57
"noteView": {
58
58
"properties": {
59
59
"latestRevisionUri": {
60
60
"description": "The head revision, the same value getNote returns. Compare it with what you hold to spot a change. Set it as parentRevision to write.",
61
61
"format": "at-uri",
62
62
"type": "string"
63
63
},
64
64
"slug": {
65
65
"type": "string"
66
66
},
67
67
"title": {
68
68
"type": "string"
69
69
},
70
70
"updatedAt": {
71
-
"description": "When the head last moved. The appview computes this.",
71
+
"description": "The head revision's own timestamp, so appviews holding the same history agree. An unusable stamp falls back to our ingest time.",
72
72
"format": "datetime",
73
73
"type": "string"
74
74
},
75
75
"uri": {
76
76
"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.",
77
77
"format": "at-uri",
78
78
"type": "string"
79
79
}
80
80
},
81
81
"required": [
82
82
"uri",
83
83
"slug",
84
84
"title",
85
85
"latestRevisionUri",
86
86
"updatedAt"
87
87
],
88
88
"type": "object"
89
89
}
90
90
},
91
91
"id": "wiki.lichen.listNotes",
92
92
"lexicon": 1
93
93
}