pub.chive.metrics.recordView
{
"$type": "com.atproto.lexicon.schema",
"defs": {
"main": {
"description": "Record a view event for an eprint",
"errors": [
{
"name": "InvalidRequest"
},
{
"name": "NotFound"
}
],
"input": {
"encoding": "application/json",
"schema": {
"properties": {
"uri": {
"description": "AT-URI of the eprint being viewed",
"format": "at-uri",
"type": "string"
},
"viewerDid": {
"description": "DID of the viewer (optional for anonymous views)",
"format": "did",
"type": "string"
}
},
"required": [
"uri"
],
"type": "object"
}
},
"output": {
"encoding": "application/json",
"schema": {
"properties": {
"success": {
"description": "Whether the view was recorded",
"type": "boolean"
}
},
"required": [
"success"
],
"type": "object"
}
},
"type": "procedure"
}
},
"id": "pub.chive.metrics.recordView",
"lexicon": 1,
"revision": 1
}
Metadata
- DID
-
did:plc:7natp5xae72bddaqlkef2t4e - CID
-
bafyreiduothpn7z7n34zmqcuazydylxibjeb7mxhxvzqlrji6ou3kbx5im - Indexed At
- 2026-05-04 17:29 UTC
- AT-URI
-
at://did:plc:7natp5xae72bddaqlkef2t4e/com.atproto.lexicon.schema/pub.chive.metrics.recordView
Similar Lexicons
Lexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.
-
pub.chive.metrics.recordDownload procedure
Record a download event for an eprint
-
Get simple view count for an eprint
-
pub.chive.metrics.recordSearchDownload procedure
Record a download event from a search result (strong positive relevance signal)
-
pub.chive.metrics.recordDwellTime procedure
Record dwell time for a clicked search result (called via beacon API)
-
Get comprehensive metrics for an eprint