Add or remove the viewer's reaction to a message. A reaction is a record in the viewer's own repo, so this creates or deletes one — there is no shared counter to increment, and the count a client renders is the appview's tally of records it has ingested.
Input
application/jsonOutput
application/jsonErrors
MessageNotFound
ChannelForbidden
Try It
Requests are sent directly from your browser. Some servers may block requests due to CORS.
View raw schema
{
"type": "procedure",
"input": {
"schema": {
"ref": "#input",
"type": "ref"
},
"encoding": "application/json"
},
"errors": [
{
"name": "MessageNotFound"
},
{
"name": "ChannelForbidden"
}
],
"output": {
"schema": {
"ref": "#output",
"type": "ref"
},
"encoding": "application/json"
},
"description": "Add or remove the viewer's reaction to a message. A reaction is a record in the viewer's own repo, so this creates or deletes one — there is no shared counter to increment, and the count a client renders is the appview's tally of records it has ingested."
}