full diff

pub.chive.metrics.recordSearchDownload

From
bafyreicbioz44eilzojswynftjkxvvz53gnn5m6paoa3k5ictsm2yjte3e indexed 2026-06-18 13:14 UTC View this version
To
bafyreicbioz44eilzojswynftjkxvvz53gnn5m6paoa3k5ictsm2yjte3e 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 download event from a search result (strong positive relevance signal)",
66 "errors": [
77 {
88 "name": "InvalidRequest"
99 }
1010 ],
1111 "input": {
1212 "encoding": "application/json",
1313 "schema": {
1414 "properties": {
1515 "impressionId": {
1616 "description": "UUID of the search impression",
1717 "type": "string"
1818 },
1919 "uri": {
2020 "description": "AT-URI of the downloaded eprint",
2121 "format": "at-uri",
2222 "type": "string"
2323 }
2424 },
2525 "required": [
2626 "impressionId",
2727 "uri"
2828 ],
2929 "type": "object"
3030 }
3131 },
3232 "output": {
3333 "encoding": "application/json",
3434 "schema": {
3535 "properties": {
3636 "success": {
3737 "description": "Whether the download was recorded",
3838 "type": "boolean"
3939 }
4040 },
4141 "required": [
4242 "success"
4343 ],
4444 "type": "object"
4545 }
4646 },
4747 "type": "procedure"
4848 }
4949 },
5050 "id": "pub.chive.metrics.recordSearchDownload",
5151 "lexicon": 1,
5252 "revision": 1
5353}