full diff

pub.chive.eprint.listRelatedWorks

From
bafyreihjfcdezxj2w24tby4e3lvz5heq3eaz2muo63ixtxge3ifbslkt3m indexed 2026-06-18 13:14 UTC View this version
To
bafyreihjfcdezxj2w24tby4e3lvz5heq3eaz2muo63ixtxge3ifbslkt3m 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 "main": {
55 "description": "List user-curated related works for an eprint",
66 "output": {
77 "encoding": "application/json",
88 "schema": {
99 "properties": {
1010 "cursor": {
1111 "description": "Pagination cursor for next page",
1212 "type": "string"
1313 },
1414 "relatedWorks": {
1515 "items": {
1616 "ref": "#relatedWorkView",
1717 "type": "ref"
1818 },
1919 "type": "array"
2020 },
2121 "total": {
2222 "description": "Total number of related works",
2323 "type": "integer"
2424 }
2525 },
2626 "required": [
2727 "relatedWorks"
2828 ],
2929 "type": "object"
3030 }
3131 },
3232 "parameters": {
3333 "properties": {
3434 "cursor": {
3535 "description": "Pagination cursor",
3636 "type": "string"
3737 },
3838 "eprintUri": {
3939 "description": "AT-URI of the eprint to list related works for",
4040 "format": "at-uri",
4141 "type": "string"
4242 },
4343 "limit": {
4444 "default": 50,
4545 "description": "Maximum number of related works to return",
4646 "maximum": 100,
4747 "minimum": 1,
4848 "type": "integer"
4949 }
5050 },
5151 "required": [
5252 "eprintUri"
5353 ],
5454 "type": "params"
5555 },
5656 "type": "query"
5757 },
5858 "relatedWorkView": {
5959 "properties": {
6060 "createdAt": {
6161 "description": "When this related work link was created",
6262 "format": "datetime",
6363 "type": "string"
6464 },
6565 "curatorDid": {
6666 "description": "DID of the user who created this link",
6767 "format": "did",
6868 "type": "string"
6969 },
7070 "description": {
7171 "description": "Description of the relationship",
7272 "type": "string"
7373 },
7474 "relationType": {
7575 "description": "Type of relationship",
7676 "type": "string"
7777 },
7878 "sourceEprintUri": {
7979 "description": "AT-URI of the source eprint",
8080 "format": "at-uri",
8181 "type": "string"
8282 },
8383 "targetEprintUri": {
8484 "description": "AT-URI of the related eprint",
8585 "format": "at-uri",
8686 "type": "string"
8787 },
8888 "targetTitle": {
8989 "description": "Title of the related eprint (resolved from index)",
9090 "type": "string"
9191 },
9292 "uri": {
9393 "description": "AT-URI of the related work record",
9494 "format": "at-uri",
9595 "type": "string"
9696 }
9797 },
9898 "required": [
9999 "uri",
100100 "sourceEprintUri",
101101 "targetEprintUri",
102102 "relationType",
103103 "curatorDid",
104104 "createdAt"
105105 ],
106106 "type": "object"
107107 }
108108 },
109109 "id": "pub.chive.eprint.listRelatedWorks",
110110 "lexicon": 1,
111111 "revision": 1
112112}