reactions
create reaction
Create a reaction on a target resource (Article, Comment, or User) on behalf of the authenticated user.
### Usage Details:
- Unlike the toggle endpoint, this endpoint is idempotent: multiple requests to react with the same category to the same target will return the existing reaction without deleting it.
post/api/reactions
Query parameters
category'like' | 'unicorn' | 'exploding_head' | 'raised_hands' | 'fire' required
The type of reaction (e.g. like for standard likes, unicorn for outstanding posts, save for bookmarking to the reading list).
reactable_idinteger required
The unique numerical ID of the target resource (Article, Comment, or User) being reacted to.
reactable_type'Comment' | 'Article' | 'User' required
The class name of the target resource being reacted to (e.g. Article, Comment, User).
Response
successful