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
{
"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.",
"errors": [
{
"name": "MessageNotFound"
},
{
"name": "ChannelForbidden"
}
],
"input": {
"encoding": "application/json",
"schema": {
"ref": "#input",
"type": "ref"
}
},
"output": {
"encoding": "application/json",
"schema": {
"ref": "#output",
"type": "ref"
}
},
"type": "procedure"
}