Record a click event on a search result for LTR training data
Input
Encoding
application/jsonimpressionId
string
Required
UUID of the search impression
position
integer
Required
Position of the result in the search results list
minimum: 0uri
stringat-uri
Required
AT-URI of the clicked eprint
Output
Encoding
application/jsonsuccess
boolean
Required
Whether the click was recorded
Errors
InvalidRequest
Try It
Requests are sent directly from your browser. Some servers may block requests due to CORS.
View raw schema
{
"type": "procedure",
"input": {
"schema": {
"type": "object",
"required": [
"impressionId",
"uri",
"position"
],
"properties": {
"uri": {
"type": "string",
"format": "at-uri",
"description": "AT-URI of the clicked eprint"
},
"position": {
"type": "integer",
"minimum": 0,
"description": "Position of the result in the search results list"
},
"impressionId": {
"type": "string",
"description": "UUID of the search impression"
}
}
},
"encoding": "application/json"
},
"errors": [
{
"name": "InvalidRequest"
}
],
"output": {
"schema": {
"type": "object",
"required": [
"success"
],
"properties": {
"success": {
"type": "boolean",
"description": "Whether the click was recorded"
}
}
},
"encoding": "application/json"
},
"description": "Record a click event on a search result for LTR training data"
}