full diff

pub.chive.metrics.recordView

From
bafyreiduothpn7z7n34zmqcuazydylxibjeb7mxhxvzqlrji6ou3kbx5im indexed 2026-06-18 13:14 UTC View this version
To
bafyreiduothpn7z7n34zmqcuazydylxibjeb7mxhxvzqlrji6ou3kbx5im 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": "Record a view event for an eprint",
66 "errors": [
77 {
88 "name": "InvalidRequest"
99 },
1010 {
1111 "name": "NotFound"
1212 }
1313 ],
1414 "input": {
1515 "encoding": "application/json",
1616 "schema": {
1717 "properties": {
1818 "uri": {
1919 "description": "AT-URI of the eprint being viewed",
2020 "format": "at-uri",
2121 "type": "string"
2222 },
2323 "viewerDid": {
2424 "description": "DID of the viewer (optional for anonymous views)",
2525 "format": "did",
2626 "type": "string"
2727 }
2828 },
2929 "required": [
3030 "uri"
3131 ],
3232 "type": "object"
3333 }
3434 },
3535 "output": {
3636 "encoding": "application/json",
3737 "schema": {
3838 "properties": {
3939 "success": {
4040 "description": "Whether the view was recorded",
4141 "type": "boolean"
4242 }
4343 },
4444 "required": [
4545 "success"
4646 ],
4747 "type": "object"
4848 }
4949 },
5050 "type": "procedure"
5151 }
5252 },
5353 "id": "pub.chive.metrics.recordView",
5454 "lexicon": 1,
5555 "revision": 1
5656}