full diff

pub.chive.review.getThread

From
bafyreig27se4rdhqfqyl7z7yg7txeb2g7ssqn5k44ji5va7oxticvk6foq indexed 2026-06-18 13:14 UTC View this version
To
bafyreig27se4rdhqfqyl7z7yg7txeb2g7ssqn5k44ji5va7oxticvk6foq indexed 2026-06-18 13:14 UTC View this version

Compatibility

backward compatible No changes detected.

Changes

11{
22 "$type": "com.atproto.lexicon.schema",
33 "defs": {
44 "authorRef": {
55 "properties": {
66 "avatar": {
77 "format": "uri",
88 "type": "string"
99 },
1010 "did": {
1111 "format": "did",
1212 "type": "string"
1313 },
1414 "displayName": {
1515 "type": "string"
1616 },
1717 "handle": {
1818 "type": "string"
1919 }
2020 },
2121 "required": [
2222 "did"
2323 ],
2424 "type": "object"
2525 },
2626 "main": {
2727 "description": "Get a review thread including the root review and all replies",
2828 "errors": [
2929 {
3030 "description": "Review not found",
3131 "name": "NotFound"
3232 }
3333 ],
3434 "output": {
3535 "encoding": "application/json",
3636 "schema": {
3737 "properties": {
3838 "parent": {
3939 "description": "Root review of the thread",
4040 "ref": "#reviewView",
4141 "type": "ref"
4242 },
4343 "replies": {
4444 "description": "Direct replies to the root review",
4545 "items": {
4646 "ref": "#reviewView",
4747 "type": "ref"
4848 },
4949 "type": "array"
5050 },
5151 "totalReplies": {
5252 "description": "Total number of replies in the thread",
5353 "minimum": 0,
5454 "type": "integer"
5555 }
5656 },
5757 "required": [
5858 "parent",
5959 "replies",
6060 "totalReplies"
6161 ],
6262 "type": "object"
6363 }
6464 },
6565 "parameters": {
6666 "properties": {
6767 "uri": {
6868 "description": "AT-URI of the root review",
6969 "format": "at-uri",
7070 "type": "string"
7171 }
7272 },
7373 "required": [
7474 "uri"
7575 ],
7676 "type": "params"
7777 },
7878 "type": "query"
7979 },
8080 "reviewView": {
8181 "description": "View of a review/comment",
8282 "properties": {
8383 "author": {
8484 "ref": "#authorRef",
8585 "type": "ref"
8686 },
8787 "body": {
8888 "description": "Rich text body items",
8989 "items": {
9090 "refs": [
9191 "pub.chive.richtext.defs#textItem",
9292 "pub.chive.richtext.defs#nodeRefItem",
9393 "pub.chive.richtext.defs#wikidataRefItem",
9494 "pub.chive.richtext.defs#fieldRefItem",
9595 "pub.chive.richtext.defs#facetRefItem",
9696 "pub.chive.richtext.defs#eprintRefItem",
9797 "pub.chive.richtext.defs#annotationRefItem",
9898 "pub.chive.richtext.defs#authorRefItem",
9999 "pub.chive.richtext.defs#mentionItem",
100100 "pub.chive.richtext.defs#linkItem",
101101 "pub.chive.richtext.defs#tagItem",
102102 "pub.chive.richtext.defs#latexItem",
103103 "pub.chive.richtext.defs#codeBlockItem",
104104 "pub.chive.richtext.defs#headingItem",
105105 "pub.chive.richtext.defs#listItem",
106106 "pub.chive.richtext.defs#blockquoteItem"
107107 ],
108108 "type": "union"
109109 },
110110 "maxLength": 500,
111111 "type": "array"
112112 },
113113 "bodyPlainText": {
114114 "description": "Plain text body for search/preview",
115115 "type": "string"
116116 },
117117 "cid": {
118118 "description": "Content identifier",
119119 "type": "string"
120120 },
121121 "content": {
122122 "description": "Plain text content of the review",
123123 "type": "string"
124124 },
125125 "createdAt": {
126126 "description": "When the review was created",
127127 "format": "datetime",
128128 "type": "string"
129129 },
130130 "eprintUri": {
131131 "description": "AT-URI of the eprint being reviewed",
132132 "format": "at-uri",
133133 "type": "string"
134134 },
135135 "indexedAt": {
136136 "description": "When the review was indexed",
137137 "format": "datetime",
138138 "type": "string"
139139 },
140140 "motivation": {
141141 "description": "W3C Web Annotation motivation",
142142 "knownValues": [
143143 "commenting",
144144 "highlighting",
145145 "questioning",
146146 "replying",
147147 "assessing",
148148 "bookmarking",
149149 "classifying",
150150 "describing",
151151 "editing",
152152 "linking",
153153 "moderating",
154154 "tagging"
155155 ],
156156 "type": "string"
157157 },
158158 "parentReviewUri": {
159159 "description": "Parent review URI for threaded replies",
160160 "format": "at-uri",
161161 "type": "string"
162162 },
163163 "replyCount": {
164164 "description": "Number of direct replies",
165165 "minimum": 0,
166166 "type": "integer"
167167 },
168168 "target": {
169169 "description": "Target text span for inline annotations",
170170 "ref": "#textSpanTarget",
171171 "type": "ref"
172172 },
173173 "uri": {
174174 "description": "Review AT-URI",
175175 "format": "at-uri",
176176 "type": "string"
177177 }
178178 },
179179 "required": [
180180 "uri",
181181 "cid",
182182 "author",
183183 "eprintUri",
184184 "content",
185185 "motivation",
186186 "replyCount",
187187 "createdAt",
188188 "indexedAt"
189189 ],
190190 "type": "object"
191191 },
192192 "textPositionSelector": {
193193 "description": "W3C Text Position Selector with optional page info",
194194 "properties": {
195195 "end": {
196196 "minimum": 0,
197197 "type": "integer"
198198 },
199199 "pageNumber": {
200200 "description": "Page number in PDF",
201201 "minimum": 1,
202202 "type": "integer"
203203 },
204204 "start": {
205205 "minimum": 0,
206206 "type": "integer"
207207 },
208208 "type": {
209209 "const": "TextPositionSelector",
210210 "type": "string"
211211 }
212212 },
213213 "required": [
214214 "type",
215215 "start",
216216 "end"
217217 ],
218218 "type": "object"
219219 },
220220 "textQuoteSelector": {
221221 "description": "W3C Text Quote Selector",
222222 "properties": {
223223 "exact": {
224224 "maxLength": 1000,
225225 "type": "string"
226226 },
227227 "prefix": {
228228 "maxLength": 100,
229229 "type": "string"
230230 },
231231 "suffix": {
232232 "maxLength": 100,
233233 "type": "string"
234234 },
235235 "type": {
236236 "const": "TextQuoteSelector",
237237 "type": "string"
238238 }
239239 },
240240 "required": [
241241 "type",
242242 "exact"
243243 ],
244244 "type": "object"
245245 },
246246 "textSpanTarget": {
247247 "description": "Target text span for inline annotations (W3C Web Annotation compatible)",
248248 "properties": {
249249 "page": {
250250 "description": "Page number (deprecated, use refinedBy.pageNumber)",
251251 "minimum": 1,
252252 "type": "integer"
253253 },
254254 "refinedBy": {
255255 "description": "Position refinement with page info",
256256 "ref": "#textPositionSelector",
257257 "type": "ref"
258258 },
259259 "selector": {
260260 "description": "Text quote selector",
261261 "ref": "#textQuoteSelector",
262262 "type": "ref"
263263 },
264264 "source": {
265265 "description": "Eprint AT-URI",
266266 "format": "at-uri",
267267 "type": "string"
268268 }
269269 },
270270 "required": [
271271 "source"
272272 ],
273273 "type": "object"
274274 }
275275 },
276276 "id": "pub.chive.review.getThread",
277277 "lexicon": 1,
278278 "revision": 1
279279}