{
"id": "pub.chive.metrics.recordDownload",
"defs": {
"main": {
"type": "procedure",
"input": {
"schema": {
"type": "object",
"required": [
"uri"
],
"properties": {
"uri": {
"type": "string",
"format": "at-uri",
"description": "AT-URI of the eprint being downloaded"
},
"viewerDid": {
"type": "string",
"format": "did",
"description": "DID of the downloader (optional for anonymous downloads)"
}
}
},
"encoding": "application/json"
},
"errors": [
{
"name": "InvalidRequest"
},
{
"name": "NotFound"
}
],
"output": {
"schema": {
"type": "object",
"required": [
"success"
],
"properties": {
"success": {
"type": "boolean",
"description": "Whether the download was recorded"
}
}
},
"encoding": "application/json"
},
"description": "Record a download event for an eprint"
}
},
"$type": "com.atproto.lexicon.schema",
"lexicon": 1,
"revision": 1
}
Metadata
- DID
-
did:plc:7natp5xae72bddaqlkef2t4e
- CID
-
bafyreieo67xztfs266n4orfkwclw74nurlyu4lvapn5gsomtzurzpubhf4
- Indexed At
- 2026-05-04 17:29 UTC
- AT-URI
-
at://did:plc:7natp5xae72bddaqlkef2t4e/com.atproto.lexicon.schema/pub.chive.metrics.recordDownload