full diff

pub.chive.metrics.recordDwellTime

From
bafyreibvzhiaocqjauoaxj226htppbd7ixhyg2bholfrilfutib5467k6a indexed 2026-06-18 13:14 UTC View this version
To
bafyreibvzhiaocqjauoaxj226htppbd7ixhyg2bholfrilfutib5467k6a 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 dwell time for a clicked search result (called via beacon API)",
66 "errors": [
77 {
88 "name": "InvalidRequest"
99 }
1010 ],
1111 "input": {
1212 "encoding": "application/json",
1313 "schema": {
1414 "properties": {
1515 "dwellTimeMs": {
1616 "description": "Time spent on the page in milliseconds",
1717 "minimum": 0,
1818 "type": "integer"
1919 },
2020 "impressionId": {
2121 "description": "UUID of the search impression",
2222 "type": "string"
2323 },
2424 "uri": {
2525 "description": "AT-URI of the viewed eprint",
2626 "format": "at-uri",
2727 "type": "string"
2828 }
2929 },
3030 "required": [
3131 "impressionId",
3232 "uri",
3333 "dwellTimeMs"
3434 ],
3535 "type": "object"
3636 }
3737 },
3838 "output": {
3939 "encoding": "application/json",
4040 "schema": {
4141 "properties": {
4242 "success": {
4343 "description": "Whether the dwell time was recorded",
4444 "type": "boolean"
4545 }
4646 },
4747 "required": [
4848 "success"
4949 ],
5050 "type": "object"
5151 }
5252 },
5353 "type": "procedure"
5454 }
5555 },
5656 "id": "pub.chive.metrics.recordDwellTime",
5757 "lexicon": 1,
5858 "revision": 1
5959}