APIv4 POST /reactions (#6092)

* APIv4 POST /reactions

* update corresponding V3 endpoint
This commit is contained in:
Saturnino Abril
2017-04-19 05:15:15 +09:00
committed by Joram Wilander
parent 8aab290d10
commit d2b86f1b8d
7 changed files with 202 additions and 8 deletions

View File

@@ -1703,10 +1703,18 @@
"id": "api.reaction.list_reactions.mismatched_channel_id.app_error",
"translation": "Failed to get reactions because channel ID does not match post ID in the URL"
},
{
"id": "api.reaction.save_reaction.invalid.app_error",
"translation": "Reaction is not valid."
},
{
"id": "api.reaction.save_reaction.mismatched_channel_id.app_error",
"translation": "Failed to save reaction because channel ID does not match post ID in the URL"
},
{
"id": "api.reaction.save_reaction.user_id.app_error",
"translation": "You cannot save reaction for the other user."
},
{
"id": "api.reaction.send_reaction_event.post.app_error",
"translation": "Failed to get post when sending websocket event for reaction"