{
"id": "pub.chive.claiming.dismissSuggestion",
"defs": {
"main": {
"type": "procedure",
"input": {
"schema": {
"type": "object",
"required": [
"source",
"externalId"
],
"properties": {
"source": {
"type": "string",
"maxLength": 64,
"minLength": 1,
"description": "External catalogue the suggestion came from, for example openalex or crossref"
},
"externalId": {
"type": "string",
"maxLength": 512,
"minLength": 1,
"description": "Identifier of the suggested work within that catalogue"
}
}
},
"encoding": "application/json"
},
"errors": [
{
"name": "AuthenticationRequired",
"description": "Authentication is required to dismiss a suggestion"
},
{
"name": "InvalidRequest",
"description": "The source or external identifier was missing or malformed"
}
],
"output": {
"schema": {
"type": "object",
"required": [
"success"
],
"properties": {
"success": {
"type": "boolean",
"description": "Whether the suggestion was recorded as dismissed"
}
}
},
"encoding": "application/json"
},
"description": "Record that the authenticated user does not want to see a particular paper suggestion. The paper is filtered out of future suggestions."
}
},
"$type": "com.atproto.lexicon.schema",
"lexicon": 1,
"revision": 1
}