Content
View differences
Updated by Kabiru Mwenja about 1 year ago
**As** an API client
**I want to** be able to toggle emoji reactions on a work package comment
**Acceptance criteria**
* User with "Add Comments" permission is able to add/remove an emoji reaction
* User with "Write Internal Comments" permission is able to add/remove an emoji reaction from an internal comment
* It is NOT possible to add/remove emoji reactions if the above permissions are missing
**Technical notes**
PATCH /api/v3/activities/{id}/emoji\_reactions
```json
{
"reaction": "thumbs_up" "thumbs_up",
"reactingUserId": "123"
}
```
**Permissions and visibility considerations**
* Visible to users with "Add Comments" or "Write internal comments" permissions
**I want to** be able to toggle emoji reactions on a work package comment
**Acceptance criteria**
* User with "Add Comments" permission is able to add/remove an emoji reaction
* User with "Write Internal Comments" permission is able to add/remove an emoji reaction from an internal comment
* It is NOT possible to add/remove emoji reactions if the above permissions are missing
**Technical notes**
PATCH /api/v3/activities/{id}/emoji\_reactions
```json
{
"reaction": "thumbs_up"
"reactingUserId": "123"
}
```
**Permissions and visibility considerations**
* Visible to users with "Add Comments" or "Write internal comments" permissions