{
"id": "pub.chive.admin.getViewDownloadTimeSeries",
"defs": {
"main": {
"type": "query",
"errors": [
{
"name": "AuthenticationRequired"
},
{
"name": "AdminRequired"
}
],
"output": {
"schema": {
"type": "object",
"required": [
"buckets",
"timestamp"
],
"properties": {
"buckets": {
"type": "array",
"items": {
"ref": "#timeSeriesBucket",
"type": "ref"
},
"description": "Time series data buckets"
},
"timestamp": {
"type": "string",
"format": "datetime",
"description": "Query timestamp"
}
}
},
"encoding": "application/json"
},
"parameters": {
"type": "params",
"properties": {
"uri": {
"type": "string",
"format": "at-uri",
"description": "Specific eprint URI (aggregate if omitted)"
},
"granularity": {
"type": "string",
"description": "Time bucket granularity",
"knownValues": [
"hour",
"day",
"week"
]
}
}
},
"description": "Get view and download time series data"
},
"timeSeriesBucket": {
"type": "object",
"required": [
"timestamp",
"views",
"downloads"
],
"properties": {
"views": {
"type": "integer",
"description": "View count in this bucket"
},
"downloads": {
"type": "integer",
"description": "Download count in this bucket"
},
"timestamp": {
"type": "string",
"format": "datetime",
"description": "Bucket timestamp"
}
},
"description": "A time series data point for views and downloads"
}
},
"$type": "com.atproto.lexicon.schema",
"lexicon": 1,
"revision": 1
}
Metadata
- DID
-
did:plc:7natp5xae72bddaqlkef2t4e
- CID
-
bafyreibq2rkkave7far7d5pjfry7xihog5qi3htuoftbvs4rqb332g5hba
- Indexed At
- 2026-05-04 17:29 UTC
- AT-URI
-
at://did:plc:7natp5xae72bddaqlkef2t4e/com.atproto.lexicon.schema/pub.chive.admin.getViewDownloadTimeSeries