full diff

pub.chive.endorsement.listForAuthorPapers

From
bafyreidy2s67a65nxclxtbhb2ekekrk4q5pjilerdneehx2mibkxbzji4m indexed 2026-06-18 13:14 UTC View this version
To
bafyreidy2s67a65nxclxtbhb2ekekrk4q5pjilerdneehx2mibkxbzji4m 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 "endorsementView": {
2727 "description": "View of an endorsement received",
2828 "properties": {
2929 "cid": {
3030 "description": "Content identifier",
3131 "type": "string"
3232 },
3333 "comment": {
3434 "description": "Optional comment",
3535 "maxLength": 1000,
3636 "type": "string"
3737 },
3838 "contributions": {
3939 "description": "Contribution types being endorsed",
4040 "items": {
4141 "knownValues": [
4242 "methodological",
4343 "analytical",
4444 "theoretical",
4545 "empirical",
4646 "conceptual",
4747 "technical",
4848 "data",
4949 "replication",
5050 "reproducibility",
5151 "synthesis",
5252 "interdisciplinary",
5353 "pedagogical",
5454 "visualization",
5555 "societal-impact",
5656 "clinical"
5757 ],
5858 "type": "string"
5959 },
6060 "minLength": 1,
6161 "type": "array"
6262 },
6363 "createdAt": {
6464 "description": "Creation timestamp",
6565 "format": "datetime",
6666 "type": "string"
6767 },
6868 "endorser": {
6969 "ref": "#authorRef",
7070 "type": "ref"
7171 },
7272 "eprintTitle": {
7373 "description": "Title of the endorsed eprint",
7474 "type": "string"
7575 },
7676 "eprintUri": {
7777 "description": "Endorsed eprint AT-URI",
7878 "format": "at-uri",
7979 "type": "string"
8080 },
8181 "uri": {
8282 "description": "Endorsement AT-URI",
8383 "format": "at-uri",
8484 "type": "string"
8585 }
8686 },
8787 "required": [
8888 "uri",
8989 "cid",
9090 "eprintUri",
9191 "endorser",
9292 "contributions",
9393 "createdAt"
9494 ],
9595 "type": "object"
9696 },
9797 "main": {
9898 "description": "List endorsements received on an author's papers",
9999 "errors": [],
100100 "output": {
101101 "encoding": "application/json",
102102 "schema": {
103103 "properties": {
104104 "cursor": {
105105 "description": "Cursor for next page",
106106 "type": "string"
107107 },
108108 "endorsements": {
109109 "description": "List of endorsements on the author's papers",
110110 "items": {
111111 "ref": "#endorsementView",
112112 "type": "ref"
113113 },
114114 "type": "array"
115115 },
116116 "hasMore": {
117117 "description": "Whether more results are available",
118118 "type": "boolean"
119119 },
120120 "total": {
121121 "description": "Total number of endorsements",
122122 "type": "integer"
123123 }
124124 },
125125 "required": [
126126 "endorsements",
127127 "hasMore"
128128 ],
129129 "type": "object"
130130 }
131131 },
132132 "parameters": {
133133 "properties": {
134134 "authorDid": {
135135 "description": "DID of the paper author",
136136 "format": "did",
137137 "type": "string"
138138 },
139139 "cursor": {
140140 "description": "Pagination cursor for next page",
141141 "type": "string"
142142 },
143143 "limit": {
144144 "default": 50,
145145 "description": "Maximum number of results to return",
146146 "maximum": 100,
147147 "minimum": 1,
148148 "type": "integer"
149149 }
150150 },
151151 "required": [
152152 "authorDid"
153153 ],
154154 "type": "params"
155155 },
156156 "type": "query"
157157 }
158158 },
159159 "id": "pub.chive.endorsement.listForAuthorPapers",
160160 "lexicon": 1,
161161 "revision": 1
162162}