Toggle an upvote signal on a standard.site document
Input
Encoding
application/jsonstandardSiteDocument
stringat-uri
Required
The subject standard.site document of an upvote.at signal
Output
Encoding
application/jsonaction
string
Required
Whether the upvote was added or removed
cid
stringcid
Required
CID of the created signal record
uri
stringat-uri
Required
AT URI of the created signal record
Try It
Requests are sent directly from your browser. Some servers may block requests due to CORS.
View raw schema
{
"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"
}