pub.chive.metrics.getMetrics
Get comprehensive metrics for an eprint
Repository
@lexicons.governance.chive.pub did:plc:egjghlwgts2hlcer2txilxeh
not from the namespace authority
Details · query
| Kind | query |
|---|---|
| Authority | metrics.chive.pub |
| Indexed |
Showing version bafyreidzvithrbc5f42qo7t5tvzgg44arxnwpk4z72tmmv2tduecrm6nje. Show the latest
Checks
Valid Lint pass{
"$type": "com.atproto.lexicon.schema",
"defs": {
"main": {
"description": "Get comprehensive metrics for an eprint",
"errors": [
{
"name": "NotFound"
}
],
"output": {
"encoding": "application/json",
"schema": {
"properties": {
"totalDownloads": {
"description": "Total download count",
"minimum": 0,
"type": "integer"
},
"totalViews": {
"description": "Total view count",
"minimum": 0,
"type": "integer"
},
"uniqueViews": {
"description": "Unique viewer count",
"minimum": 0,
"type": "integer"
},
"views24h": {
"description": "Views in last 24 hours",
"minimum": 0,
"type": "integer"
},
"views30d": {
"description": "Views in last 30 days",
"minimum": 0,
"type": "integer"
},
"views7d": {
"description": "Views in last 7 days",
"minimum": 0,
"type": "integer"
}
},
"required": [
"totalViews",
"uniqueViews",
"totalDownloads",
"views24h",
"views7d",
"views30d"
],
"type": "object"
}
},
"parameters": {
"properties": {
"uri": {
"description": "AT-URI of the eprint",
"format": "at-uri",
"type": "string"
}
},
"required": [
"uri"
],
"type": "params"
},
"type": "query"
}
},
"id": "pub.chive.metrics.getMetrics",
"lexicon": 1,
"revision": 1
}