at.upvote.toggleSignal
Toggle an upvote signal on a standard.site document
Details · procedure
| Kind | procedure |
|---|---|
| Authority | upvote.at |
| Indexed |
Checks
Validunlimited-stringdefs.main.output.schema.properties.actionNo maxLength, maxGraphemes or format limits this string.
{
"$type": "com.atproto.lexicon.schema",
"defs": {
"main": {
"description": "Toggle an upvote signal on a standard.site document",
"input": {
"encoding": "application/json",
"schema": {
"properties": {
"standardSiteDocument": {
"description": "The subject standard.site document of an upvote.at signal",
"format": "at-uri",
"type": "string"
}
},
"required": [
"standardSiteDocument"
],
"type": "object"
}
},
"output": {
"encoding": "application/json",
"schema": {
"properties": {
"action": {
"description": "Whether the upvote was added or removed",
"enum": [
"added",
"removed"
],
"type": "string"
},
"cid": {
"description": "CID of the created signal record",
"format": "cid",
"type": "string"
},
"uri": {
"description": "AT URI of the created signal record",
"format": "at-uri",
"type": "string"
}
},
"required": [
"uri",
"cid",
"action"
],
"type": "object"
}
},
"type": "procedure"
}
},
"id": "at.upvote.toggleSignal",
"lexicon": 1
}