Clanbite Forums clanbite-forums/v1
POST /wp-json/clanbite-forums/v1/topics/(?P<id>\d+)/reactionsPOST
Toggle a reaction on the topic opening post.
Access is checked by require_login().
Handled by toggle_topic_reaction()
Example
curl -X POST 'https://example.com/wp-json/clanbite-forums/v1/topics/(?P<id>\d+)/reactions'Defined in inc/Rest/Rest_Controller.php