full diff

pub.chive.review.listForAuthor

From
bafyreigetermsrcrrqet3nfkvlakbz2i6ks6pk37hurfy6f33d7o5idfk4 indexed 2026-06-18 13:14 UTC View this version
To
bafyreigetermsrcrrqet3nfkvlakbz2i6ks6pk37hurfy6f33d7o5idfk4 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": "List reviews created by a specific author with optional filtering",
2828 "errors": [],
2929 "output": {
3030 "encoding": "application/json",
3131 "schema": {
3232 "properties": {
3333 "cursor": {
3434 "description": "Cursor for next page",
3535 "type": "string"
3636 },
3737 "hasMore": {
3838 "description": "Whether more results are available",
3939 "type": "boolean"
4040 },
4141 "reviews": {
4242 "description": "List of reviews by the author",
4343 "items": {
4444 "ref": "#reviewView",
4545 "type": "ref"
4646 },
4747 "type": "array"
4848 },
4949 "total": {
5050 "description": "Total number of reviews by this author",
5151 "type": "integer"
5252 }
5353 },
5454 "required": [
5555 "reviews",
5656 "hasMore"
5757 ],
5858 "type": "object"
5959 }
6060 },
6161 "parameters": {
6262 "properties": {
6363 "cursor": {
6464 "description": "Pagination cursor for next page",
6565 "type": "string"
6666 },
6767 "inlineOnly": {
6868 "default": false,
6969 "description": "Only include inline annotations with text span targets",
7070 "type": "boolean"
7171 },
7272 "limit": {
7373 "default": 50,
7474 "description": "Maximum number of results to return",
7575 "maximum": 100,
7676 "minimum": 1,
7777 "type": "integer"
7878 },
7979 "motivation": {
8080 "description": "Filter by W3C Web Annotation motivation",
8181 "knownValues": [
8282 "commenting",
8383 "highlighting",
8484 "questioning",
8585 "replying",
8686 "assessing",
8787 "bookmarking",
8888 "classifying",
8989 "describing",
9090 "editing",
9191 "linking",
9292 "moderating",
9393 "tagging"
9494 ],
9595 "type": "string"
9696 },
9797 "reviewerDid": {
9898 "description": "DID of the reviewer",
9999 "format": "did",
100100 "type": "string"
101101 }
102102 },
103103 "required": [
104104 "reviewerDid"
105105 ],
106106 "type": "params"
107107 },
108108 "type": "query"
109109 },
110110 "reviewView": {
111111 "description": "View of a review/comment",
112112 "properties": {
113113 "author": {
114114 "ref": "#authorRef",
115115 "type": "ref"
116116 },
117117 "body": {
118118 "description": "Rich text body items",
119119 "items": {
120120 "refs": [
121121 "pub.chive.richtext.defs#textItem",
122122 "pub.chive.richtext.defs#nodeRefItem",
123123 "pub.chive.richtext.defs#wikidataRefItem",
124124 "pub.chive.richtext.defs#fieldRefItem",
125125 "pub.chive.richtext.defs#facetRefItem",
126126 "pub.chive.richtext.defs#eprintRefItem",
127127 "pub.chive.richtext.defs#annotationRefItem",
128128 "pub.chive.richtext.defs#authorRefItem",
129129 "pub.chive.richtext.defs#mentionItem",
130130 "pub.chive.richtext.defs#linkItem",
131131 "pub.chive.richtext.defs#tagItem",
132132 "pub.chive.richtext.defs#latexItem",
133133 "pub.chive.richtext.defs#codeBlockItem",
134134 "pub.chive.richtext.defs#headingItem",
135135 "pub.chive.richtext.defs#listItem",
136136 "pub.chive.richtext.defs#blockquoteItem"
137137 ],
138138 "type": "union"
139139 },
140140 "maxLength": 500,
141141 "type": "array"
142142 },
143143 "bodyPlainText": {
144144 "description": "Plain text body for search/preview",
145145 "type": "string"
146146 },
147147 "cid": {
148148 "description": "Content identifier",
149149 "type": "string"
150150 },
151151 "content": {
152152 "description": "Plain text content of the review",
153153 "type": "string"
154154 },
155155 "createdAt": {
156156 "description": "When the review was created",
157157 "format": "datetime",
158158 "type": "string"
159159 },
160160 "eprintTitle": {
161161 "description": "Title of the reviewed eprint",
162162 "type": "string"
163163 },
164164 "eprintUri": {
165165 "description": "AT-URI of the eprint being reviewed",
166166 "format": "at-uri",
167167 "type": "string"
168168 },
169169 "indexedAt": {
170170 "description": "When the review was indexed",
171171 "format": "datetime",
172172 "type": "string"
173173 },
174174 "motivation": {
175175 "description": "W3C Web Annotation motivation",
176176 "knownValues": [
177177 "commenting",
178178 "highlighting",
179179 "questioning",
180180 "replying",
181181 "assessing",
182182 "bookmarking",
183183 "classifying",
184184 "describing",
185185 "editing",
186186 "linking",
187187 "moderating",
188188 "tagging"
189189 ],
190190 "type": "string"
191191 },
192192 "parentReviewUri": {
193193 "description": "Parent review URI for threaded replies",
194194 "format": "at-uri",
195195 "type": "string"
196196 },
197197 "replyCount": {
198198 "description": "Number of direct replies",
199199 "minimum": 0,
200200 "type": "integer"
201201 },
202202 "target": {
203203 "description": "Target text span for inline annotations",
204204 "ref": "#textSpanTarget",
205205 "type": "ref"
206206 },
207207 "uri": {
208208 "description": "Review AT-URI",
209209 "format": "at-uri",
210210 "type": "string"
211211 }
212212 },
213213 "required": [
214214 "uri",
215215 "cid",
216216 "author",
217217 "eprintUri",
218218 "content",
219219 "motivation",
220220 "replyCount",
221221 "createdAt",
222222 "indexedAt"
223223 ],
224224 "type": "object"
225225 },
226226 "textPositionSelector": {
227227 "description": "W3C Text Position Selector with optional page info",
228228 "properties": {
229229 "end": {
230230 "minimum": 0,
231231 "type": "integer"
232232 },
233233 "pageNumber": {
234234 "description": "Page number in PDF",
235235 "minimum": 1,
236236 "type": "integer"
237237 },
238238 "start": {
239239 "minimum": 0,
240240 "type": "integer"
241241 },
242242 "type": {
243243 "const": "TextPositionSelector",
244244 "type": "string"
245245 }
246246 },
247247 "required": [
248248 "type",
249249 "start",
250250 "end"
251251 ],
252252 "type": "object"
253253 },
254254 "textQuoteSelector": {
255255 "description": "W3C Text Quote Selector",
256256 "properties": {
257257 "exact": {
258258 "maxLength": 1000,
259259 "type": "string"
260260 },
261261 "prefix": {
262262 "maxLength": 100,
263263 "type": "string"
264264 },
265265 "suffix": {
266266 "maxLength": 100,
267267 "type": "string"
268268 },
269269 "type": {
270270 "const": "TextQuoteSelector",
271271 "type": "string"
272272 }
273273 },
274274 "required": [
275275 "type",
276276 "exact"
277277 ],
278278 "type": "object"
279279 },
280280 "textSpanTarget": {
281281 "description": "Target text span for inline annotations (W3C Web Annotation compatible)",
282282 "properties": {
283283 "page": {
284284 "description": "Page number (deprecated, use refinedBy.pageNumber)",
285285 "minimum": 1,
286286 "type": "integer"
287287 },
288288 "refinedBy": {
289289 "description": "Position refinement with page info",
290290 "ref": "#textPositionSelector",
291291 "type": "ref"
292292 },
293293 "selector": {
294294 "description": "Text quote selector",
295295 "ref": "#textQuoteSelector",
296296 "type": "ref"
297297 },
298298 "source": {
299299 "description": "Eprint AT-URI",
300300 "format": "at-uri",
301301 "type": "string"
302302 }
303303 },
304304 "required": [
305305 "source"
306306 ],
307307 "type": "object"
308308 }
309309 },
310310 "id": "pub.chive.review.listForAuthor",
311311 "lexicon": 1,
312312 "revision": 1
313313}