full diff

pub.chive.endorsement.getUserEndorsement

From
bafyreihgyv2vldfafcha3glw7n2gibjvdam4nkpqhlkgaxjqlguofadhee indexed 2026-06-18 13:14 UTC View this version
To
bafyreihgyv2vldfafcha3glw7n2gibjvdam4nkpqhlkgaxjqlguofadhee 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",
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 "eprintUri": {
7373 "description": "Endorsed eprint AT-URI",
7474 "format": "at-uri",
7575 "type": "string"
7676 },
7777 "updatedAt": {
7878 "description": "Last update timestamp",
7979 "format": "datetime",
8080 "type": "string"
8181 },
8282 "uri": {
8383 "description": "Endorsement AT-URI",
8484 "format": "at-uri",
8585 "type": "string"
8686 }
8787 },
8888 "required": [
8989 "uri",
9090 "cid",
9191 "eprintUri",
9292 "endorser",
9393 "contributions",
9494 "createdAt"
9595 ],
9696 "type": "object"
9797 },
9898 "main": {
9999 "description": "Get a user's endorsement for a specific eprint",
100100 "errors": [
101101 {
102102 "name": "NotFound"
103103 }
104104 ],
105105 "output": {
106106 "encoding": "application/json",
107107 "schema": {
108108 "ref": "#endorsementView",
109109 "type": "ref"
110110 }
111111 },
112112 "parameters": {
113113 "properties": {
114114 "eprintUri": {
115115 "description": "AT-URI of the eprint",
116116 "format": "at-uri",
117117 "type": "string"
118118 },
119119 "userDid": {
120120 "description": "DID of the user",
121121 "format": "did",
122122 "type": "string"
123123 }
124124 },
125125 "required": [
126126 "eprintUri",
127127 "userDid"
128128 ],
129129 "type": "params"
130130 },
131131 "type": "query"
132132 }
133133 },
134134 "id": "pub.chive.endorsement.getUserEndorsement",
135135 "lexicon": 1,
136136 "revision": 1
137137}