{
"id": "pub.chive.eprint.listByAuthor",
"defs": {
"main": {
"type": "query",
"errors": [
{
"name": "NotFound"
}
],
"output": {
"schema": {
"type": "object",
"required": [
"eprints"
],
"properties": {
"total": {
"type": "integer"
},
"cursor": {
"type": "string"
},
"eprints": {
"type": "array",
"items": {
"ref": "#eprintSummary",
"type": "ref"
}
}
}
},
"encoding": "application/json"
},
"parameters": {
"type": "params",
"required": [
"did"
],
"properties": {
"did": {
"type": "string",
"format": "did",
"description": "Author DID"
},
"limit": {
"type": "integer",
"default": 25,
"maximum": 100,
"minimum": 1
},
"cursor": {
"type": "string"
},
"sortBy": {
"type": "string",
"default": "indexedAt",
"knownValues": [
"indexedAt",
"publishedAt",
"updatedAt"
]
},
"sortOrder": {
"type": "string",
"default": "desc",
"knownValues": [
"asc",
"desc"
]
}
}
},
"description": "List eprints by author DID"
},
"fieldRef": {
"type": "object",
"required": [
"uri",
"label"
],
"properties": {
"id": {
"type": "string",
"description": "Optional unique ID"
},
"uri": {
"type": "string",
"description": "AT URI of the field node"
},
"label": {
"type": "string",
"description": "Human-readable field label"
}
}
},
"authorRef": {
"type": "object",
"properties": {
"did": {
"type": "string",
"format": "did"
},
"handle": {
"type": "string"
},
"avatarUrl": {
"type": "string",
"format": "uri",
"description": "Author avatar URL"
},
"displayName": {
"type": "string"
}
}
},
"eprintSummary": {
"type": "object",
"required": [
"uri",
"title",
"indexedAt"
],
"properties": {
"cid": {
"type": "string",
"format": "cid"
},
"uri": {
"type": "string",
"format": "at-uri"
},
"title": {
"type": "string"
},
"fields": {
"type": "array",
"items": {
"ref": "#fieldRef",
"type": "ref"
}
},
"authors": {
"type": "array",
"items": {
"ref": "#authorRef",
"type": "ref"
}
},
"abstract": {
"type": "array",
"items": {
"refs": [
"pub.chive.richtext.defs#textItem",
"pub.chive.richtext.defs#nodeRefItem",
"pub.chive.richtext.defs#wikidataRefItem",
"pub.chive.richtext.defs#fieldRefItem",
"pub.chive.richtext.defs#facetRefItem",
"pub.chive.richtext.defs#eprintRefItem",
"pub.chive.richtext.defs#annotationRefItem",
"pub.chive.richtext.defs#authorRefItem",
"pub.chive.richtext.defs#mentionItem",
"pub.chive.richtext.defs#linkItem",
"pub.chive.richtext.defs#tagItem",
"pub.chive.richtext.defs#latexItem",
"pub.chive.richtext.defs#codeBlockItem",
"pub.chive.richtext.defs#headingItem",
"pub.chive.richtext.defs#listItem",
"pub.chive.richtext.defs#blockquoteItem"
],
"type": "union"
},
"maxLength": 500,
"description": "Rich abstract with text, formatting, and entity references"
},
"indexedAt": {
"type": "string",
"format": "datetime"
},
"publishedAt": {
"type": "string",
"format": "datetime"
}
}
}
},
"$type": "com.atproto.lexicon.schema",
"lexicon": 1,
"revision": 1
}