{
"id": "pub.chive.tag.listEprints",
"defs": {
"main": {
"type": "query",
"errors": [
{
"name": "TagNotFound"
}
],
"output": {
"schema": {
"type": "object",
"required": [
"eprints",
"total"
],
"properties": {
"total": {
"type": "integer",
"minimum": 0,
"description": "Total number of eprints with this tag"
},
"cursor": {
"type": "string",
"description": "Pagination cursor for next page"
},
"eprints": {
"type": "array",
"items": {
"ref": "#eprintSummary",
"type": "ref"
},
"description": "Eprints with this tag"
}
}
},
"encoding": "application/json"
},
"parameters": {
"type": "params",
"required": [
"tag"
],
"properties": {
"tag": {
"type": "string",
"description": "Normalized tag form to look up"
},
"limit": {
"type": "integer",
"default": 25,
"maximum": 100,
"minimum": 1,
"description": "Maximum number of results"
},
"cursor": {
"type": "string",
"description": "Pagination cursor"
}
}
},
"description": "List eprints that have a specific tag applied"
},
"authorSummary": {
"type": "object",
"required": [
"name"
],
"properties": {
"did": {
"type": "string",
"format": "did",
"description": "Author DID if known"
},
"name": {
"type": "string",
"description": "Display name"
}
},
"description": "Minimal author info"
},
"eprintSummary": {
"type": "object",
"required": [
"uri",
"title",
"indexedAt"
],
"properties": {
"uri": {
"type": "string",
"format": "at-uri",
"description": "Eprint AT-URI"
},
"title": {
"type": "string",
"description": "Eprint title"
},
"authors": {
"type": "array",
"items": {
"ref": "#authorSummary",
"type": "ref"
},
"description": "Author list"
},
"abstract": {
"type": "string",
"description": "Abstract text (truncated)"
},
"createdAt": {
"type": "string",
"format": "datetime",
"description": "When the eprint was created"
},
"indexedAt": {
"type": "string",
"format": "datetime",
"description": "When the eprint was indexed"
}
},
"description": "Summary of an eprint for list display"
}
},
"$type": "com.atproto.lexicon.schema",
"lexicon": 1,
"revision": 1
}