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
{
"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"
}