full diff

pub.chive.metrics.getViewCount

From
bafyreigxeczh77wl77ndjobpzs4xh6t3vxe5ybz4k7tnuflu4zf3m5auf4 indexed 2026-06-18 13:14 UTC View this version
To
bafyreigxeczh77wl77ndjobpzs4xh6t3vxe5ybz4k7tnuflu4zf3m5auf4 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 simple view count for an eprint",
66 "errors": [
77 {
88 "name": "NotFound"
99 }
1010 ],
1111 "output": {
1212 "encoding": "application/json",
1313 "schema": {
1414 "properties": {
1515 "count": {
1616 "description": "Total view count",
1717 "minimum": 0,
1818 "type": "integer"
1919 }
2020 },
2121 "required": [
2222 "count"
2323 ],
2424 "type": "object"
2525 }
2626 },
2727 "parameters": {
2828 "properties": {
2929 "uri": {
3030 "description": "AT-URI of the eprint",
3131 "format": "at-uri",
3232 "type": "string"
3333 }
3434 },
3535 "required": [
3636 "uri"
3737 ],
3838 "type": "params"
3939 },
4040 "type": "query"
4141 }
4242 },
4343 "id": "pub.chive.metrics.getViewCount",
4444 "lexicon": 1,
4545 "revision": 1
4646}