From 887399b8152976afeef0eb370eb4a71eac8c0edf Mon Sep 17 00:00:00 2001 From: eshapard Date: Thu, 30 Jun 2016 11:18:58 -0700 Subject: [PATCH] update documentation for marking chat seen Documentation included the chatId in the url, but the api does not use it. Adding the chatId will cause a 404 error. The api marks all chats in the guild as read; not individual chats. closes #7742 --- website/server/controllers/api-v3/chat.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/server/controllers/api-v3/chat.js b/website/server/controllers/api-v3/chat.js index b84a3e6aaa..a1c503407b 100644 --- a/website/server/controllers/api-v3/chat.js +++ b/website/server/controllers/api-v3/chat.js @@ -313,7 +313,7 @@ api.clearChatFlags = { }; /** - * @api {post} /api/v3/groups/:groupId/chat/:chatId/seen Seen a group chat message + * @api {post} /api/v3/groups/:groupId/chat/seen Mark all messages as read for a group * @apiVersion 3.0.0 * @apiName SeenChat * @apiGroup Chat