pub.chive.metrics.recordSearchClick
Record a click event on a search result for LTR training data
Repository
@lexicons.governance.chive.pub did:plc:egjghlwgts2hlcer2txilxeh
not from the namespace authority
Details · procedure
| Kind | procedure |
|---|---|
| Authority | metrics.chive.pub |
| Indexed |
Checks
Validunlimited-stringdefs.main.input.schema.properties.impressionIdNo maxLength, maxGraphemes or format limits this string.
{
"$type": "com.atproto.lexicon.schema",
"defs": {
"main": {
"description": "Record a click event on a search result for LTR training data",
"errors": [
{
"name": "InvalidRequest"
}
],
"input": {
"encoding": "application/json",
"schema": {
"properties": {
"impressionId": {
"description": "UUID of the search impression",
"type": "string"
},
"position": {
"description": "Position of the result in the search results list",
"minimum": 0,
"type": "integer"
},
"uri": {
"description": "AT-URI of the clicked eprint",
"format": "at-uri",
"type": "string"
}
},
"required": [
"impressionId",
"uri",
"position"
],
"type": "object"
}
},
"output": {
"encoding": "application/json",
"schema": {
"properties": {
"success": {
"description": "Whether the click was recorded",
"type": "boolean"
}
},
"required": [
"success"
],
"type": "object"
}
},
"type": "procedure"
}
},
"id": "pub.chive.metrics.recordSearchClick",
"lexicon": 1,
"revision": 1
}