DocumentationAPI reference
Rust · 0.1.0
Delete Memo Reaction
DELETE /api/v1/memos/{memo}/reactions/{reaction}
MemoService · MemoService_DeleteMemoReaction
Access
Requires the reaction's creator or an instance administrator. Use the reaction resource returned by the API; a missing or mismatched reaction can be reported as permission denied.
Successful response
This operation has no resource to return. The Rust REST transport serializes protobuf Empty as HTTP 200 with JSON {}. The empty success-schema area in the generated contract is intentional, not missing request instructions.
Request
DeleteMemoReaction deletes a reaction for a memo.
/api/v1/memos/{memo}/reactions/{reaction}Parameters
| Name / location | Type / requirement | Description |
|---|---|---|
memopath | string Required | The memo id. |
reactionpath | string Required | The reaction id. |
Request body
No request body is declared.
Responses
200 · OK
default · Default error response
application/json · Status
Complete operation definition
All declared constraints, media types and response details are retained below. Schema references link to their complete definitions.
Open JSON definition
{
"tags": [
"MemoService"
],
"description": "DeleteMemoReaction deletes a reaction for a memo.",
"operationId": "MemoService_DeleteMemoReaction",
"parameters": [
{
"name": "memo",
"in": "path",
"description": "The memo id.",
"required": true,
"schema": {
"type": "string"
}
},
{
"name": "reaction",
"in": "path",
"description": "The reaction id.",
"required": true,
"schema": {
"type": "string"
}
}
],
"responses": {
"200": {
"description": "OK",
"content": {}
},
"default": {
"description": "Default error response",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/Status"
}
}
}
}
}
}