Runrunit

Interact with the Runrunit API

Comments → Reaction

AI-generated

Summary

Add or update a reaction to a specified comment by its ID with a customizable reaction payload.

Inputs

  • Mode — Choose whether to execute the API request or preview the equivalent curl command. Defaults to 'execute'.
  • Comment ID (required) — Specify the ID of the comment to which the reaction will be added or updated.
  • Reaction Object (JSON) (required) — Provide the reaction details as a JSON object sent as the 'reaction' in the request body; defaults to {"kind":"like"}.

Output shape

a single reaction object confirming the applied reaction to the comment

The output shape corresponds to the API response for adding/replacing a reaction on a comment and includes details of the reaction added. The node supports previewing the curl command instead of executing the request by selecting 'Preview curl' mode.

Links

Discussion