full diff

pub.chive.metrics.getMetrics

From
bafyreidzvithrbc5f42qo7t5tvzgg44arxnwpk4z72tmmv2tduecrm6nje indexed 2026-06-18 13:14 UTC View this version
To
bafyreidzvithrbc5f42qo7t5tvzgg44arxnwpk4z72tmmv2tduecrm6nje indexed 2026-06-18 13:14 UTC View this version

Compatibility

backward compatible No changes detected.

Changes

11{
22 "$type": "com.atproto.lexicon.schema",
33 "defs": {
44 "main": {
55 "description": "Get comprehensive metrics for an eprint",
66 "errors": [
77 {
88 "name": "NotFound"
99 }
1010 ],
1111 "output": {
1212 "encoding": "application/json",
1313 "schema": {
1414 "properties": {
1515 "totalDownloads": {
1616 "description": "Total download count",
1717 "minimum": 0,
1818 "type": "integer"
1919 },
2020 "totalViews": {
2121 "description": "Total view count",
2222 "minimum": 0,
2323 "type": "integer"
2424 },
2525 "uniqueViews": {
2626 "description": "Unique viewer count",
2727 "minimum": 0,
2828 "type": "integer"
2929 },
3030 "views24h": {
3131 "description": "Views in last 24 hours",
3232 "minimum": 0,
3333 "type": "integer"
3434 },
3535 "views30d": {
3636 "description": "Views in last 30 days",
3737 "minimum": 0,
3838 "type": "integer"
3939 },
4040 "views7d": {
4141 "description": "Views in last 7 days",
4242 "minimum": 0,
4343 "type": "integer"
4444 }
4545 },
4646 "required": [
4747 "totalViews",
4848 "uniqueViews",
4949 "totalDownloads",
5050 "views24h",
5151 "views7d",
5252 "views30d"
5353 ],
5454 "type": "object"
5555 }
5656 },
5757 "parameters": {
5858 "properties": {
5959 "uri": {
6060 "description": "AT-URI of the eprint",
6161 "format": "at-uri",
6262 "type": "string"
6363 }
6464 },
6565 "required": [
6666 "uri"
6767 ],
6868 "type": "params"
6969 },
7070 "type": "query"
7171 }
7272 },
7373 "id": "pub.chive.metrics.getMetrics",
7474 "lexicon": 1,
7575 "revision": 1
7676}