{
"id": "pub.chive.admin.getTrendingVelocity",
"defs": {
"main": {
"type": "query",
"errors": [
{
"name": "AuthenticationRequired"
},
{
"name": "AdminRequired"
}
],
"output": {
"schema": {
"type": "object",
"required": [
"items"
],
"properties": {
"items": {
"type": "array",
"items": {
"ref": "#velocityEntry",
"type": "ref"
},
"description": "Trending eprints with velocity data"
}
}
},
"encoding": "application/json"
},
"parameters": {
"type": "params",
"properties": {
"limit": {
"type": "integer",
"default": 20,
"maximum": 100,
"minimum": 1,
"description": "Maximum number of results"
},
"window": {
"type": "string",
"default": "24h",
"description": "Time window for velocity calculation",
"knownValues": [
"24h",
"7d",
"30d"
]
}
}
},
"description": "Get trending eprints ranked by engagement velocity"
},
"velocityEntry": {
"type": "object",
"required": [
"uri",
"title",
"velocity"
],
"properties": {
"uri": {
"type": "string",
"format": "at-uri",
"description": "Eprint AT URI"
},
"title": {
"type": "string",
"description": "Eprint title"
},
"views": {
"type": "integer",
"description": "Total views in window"
},
"velocity": {
"type": "integer",
"description": "Engagement velocity in milliunits (divide by 1000 for ratio of current to baseline)"
},
"authorDid": {
"type": "string",
"format": "did",
"description": "Author DID"
},
"downloads": {
"type": "integer",
"description": "Total downloads in window"
},
"acceleration": {
"type": "integer",
"description": "Velocity change between windows in milliunits (divide by 1000)"
},
"dailyAvgCurrent": {
"type": "integer",
"description": "Current window daily average views in milliunits (divide by 1000)"
},
"dailyAvgBaseline": {
"type": "integer",
"description": "Baseline window daily average views in milliunits (divide by 1000)"
}
},
"description": "Eprint trending velocity entry"
}
},
"$type": "com.atproto.lexicon.schema",
"lexicon": 1,
"revision": 1
}
Metadata
- DID
-
did:plc:7natp5xae72bddaqlkef2t4e
- CID
-
bafyreiaog554a5t75bruw2ffhauayepw7bvwb2kr27nzlbuuadeeybz3za
- Indexed At
- 2026-05-04 17:29 UTC
- AT-URI
-
at://did:plc:7natp5xae72bddaqlkef2t4e/com.atproto.lexicon.schema/pub.chive.admin.getTrendingVelocity