pub.chive.metrics.recordSearchDownload
Record a download event from a search result (strong positive relevance signal)
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 download event from a search result (strong positive relevance signal)",
"errors": [
{
"name": "InvalidRequest"
}
],
"input": {
"encoding": "application/json",
"schema": {
"properties": {
"impressionId": {
"description": "UUID of the search impression",
"type": "string"
},
"uri": {
"description": "AT-URI of the downloaded eprint",
"format": "at-uri",
"type": "string"
}
},
"required": [
"impressionId",
"uri"
],
"type": "object"
}
},
"output": {
"encoding": "application/json",
"schema": {
"properties": {
"success": {
"description": "Whether the download was recorded",
"type": "boolean"
}
},
"required": [
"success"
],
"type": "object"
}
},
"type": "procedure"
}
},
"id": "pub.chive.metrics.recordSearchDownload",
"lexicon": 1,
"revision": 1
}