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
{
"type": "procedure",
"input": {
"schema": {
"type": "object",
"required": [
"standardSiteDocument"
],
"properties": {
"standardSiteDocument": {
"type": "string",
"format": "at-uri",
"description": "The subject standard.site document of an upvote.at signal"
}
}
},
"encoding": "application/json"
},
"output": {
"schema": {
"type": "object",
"required": [
"uri",
"cid",
"action"
],
"properties": {
"cid": {
"type": "string",
"format": "cid",
"description": "CID of the created signal record"
},
"uri": {
"type": "string",
"format": "at-uri",
"description": "AT URI of the created signal record"
},
"action": {
"enum": [
"added",
"removed"
],
"type": "string",
"description": "Whether the upvote was added or removed"
}
}
},
"encoding": "application/json"
},
"description": "Toggle an upvote signal on a standard.site document"
}