pub.chive.metrics.recordDownload
{
"$type": "com.atproto.lexicon.schema",
"defs": {
"main": {
"description": "Record a download event for an eprint",
"errors": [
{
"name": "InvalidRequest"
},
{
"name": "NotFound"
}
],
"input": {
"encoding": "application/json",
"schema": {
"properties": {
"uri": {
"description": "AT-URI of the eprint being downloaded",
"format": "at-uri",
"type": "string"
},
"viewerDid": {
"description": "DID of the downloader (optional for anonymous downloads)",
"format": "did",
"type": "string"
}
},
"required": [
"uri"
],
"type": "object"
}
},
"output": {
"encoding": "application/json",
"schema": {
"properties": {
"success": {
"description": "Whether the download was recorded",
"type": "boolean"
}
},
"required": [
"success"
],
"type": "object"
}
},
"type": "procedure"
}
},
"id": "pub.chive.metrics.recordDownload",
"lexicon": 1,
"revision": 1
}
Metadata
- DID
-
did:plc:egjghlwgts2hlcer2txilxeh - CID
-
bafyreieo67xztfs266n4orfkwclw74nurlyu4lvapn5gsomtzurzpubhf4 - Indexed At
- 2026-06-18 13:14 UTC
- AT-URI
-
at://did:plc:egjghlwgts2hlcer2txilxeh/com.atproto.lexicon.schema/pub.chive.metrics.recordDownload
Similar Lexicons
Lexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.
-
pub.chive.metrics.recordSearchDownload procedure
Record a download event from a search result (strong positive relevance signal)
-
pub.chive.metrics.recordView procedure
Record a view event for an eprint
-
Get comprehensive metrics for an eprint