22# Reactions
33
44``` http
5- POST /reactions HTTP/1.1
5+ POST /response_requests HTTP/1.1
66Host: api.company-mood.com
77Content-Type: application/json
88Accept: application/vnd.company-mood-v2+json
99X-App-Token: 27f50875-9a43-4d6c-a376-6968f09858db
1010
1111{
1212 "data": {
13- "type": "reactions ",
13+ "type": "response_requests ",
1414 "attributes": {
15- "reactionable_id ": "4123-s23awq-124fe2-1123q-4fr21",
16- "reactionable_type ": "Task ",
17- "rating ": "up "
15+ "commentable_id ": "4123-s23awq-124fe2-1123q-4fr21",
16+ "commentable_type ": "Reasoning ",
17+ "user_id ": "4312-s23awq-124fe2-1123q-4fr21 "
1818 }
1919 }
2020}
@@ -25,13 +25,13 @@ HTTP/1.1 202 ACCEPTED
2525Content-Type: application/json
2626```
2727
28- Set a reaction for a resource (Task, Comment, Statement, EventPin )
28+ Create a response requests for a feedback (Reasoning, Suggestion )
2929
3030
3131## POST attributes
3232
3333Parameter | Description
3434------------------|------------
35- reactionable_id | ID/UUID of the resource to create the reaction for
36- reactionable_type | Type of the resource to create the reaction for (Comment, Task, Statement, EventPin )
37- rating | The reactions rating to set (up / down)
35+ commentable_id | ID/UUID of the resource to create the request for
36+ reactionable_type | Type of the resource to create the reaction for (Reasoning, Suggestion )
37+ user_id | The users UID you want to request a response from
0 commit comments