action dev_post_api_reactions_toggle { label: "toggle reaction" description: "This endpoint allows the client to toggle the user's reaction to a specified reactable (eg, Article, Comment, or User). For examples:\n * \"Like\"ing an Article will create a new \"like\" Reaction from the user for that Articles\n * \"Like\"ing that Article a second time will remove the \"like\" from the user" provider: dev method: POST path: "/api/reactions/toggle" encoding: json input: { type: "object" properties: { category: { type: "string" enum: ["like", "unicorn", "exploding_head", "raised_hands", "fire"] } reactable_id: { type: "integer" format: "int32" } reactable_type: { type: "string" enum: ["Comment", "Article", "User"] } } required: ["category", "reactable_id", "reactable_type"] additionalProperties: false } output: { type: "object" additionalProperties: true } }