From 0c9fef2444b4537fa228c13eac80712c8446b325 Mon Sep 17 00:00:00 2001 From: Lauryn Menard Date: Mon, 28 Aug 2023 18:38:12 +0200 Subject: [PATCH] api-docs: Fix incorrect documentation of subfield in `unread_msgs`. Fixes the field in both the pms and huddles objects to be correctly documented as `unread_message_ids`, instead of `message_ids`. The documentation of the similar field in the stream object of `unread_msgs` was corrected in commit 27ddb554fb. --- zerver/openapi/zulip.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/zerver/openapi/zulip.yaml b/zerver/openapi/zulip.yaml index b81fc6b5ee..4cffcc7ee6 100644 --- a/zerver/openapi/zulip.yaml +++ b/zerver/openapi/zulip.yaml @@ -11712,7 +11712,7 @@ paths: **Changes**: Deprecated in Zulip 5.0 (feature level 119). We expect to provide a next version of the full `unread_msgs` API before removing this legacy name. - message_ids: + unread_message_ids: type: array description: | The message IDs of the recent unread direct messages sent @@ -11768,7 +11768,7 @@ paths: A string containing the IDs of all users in the group direct message conversation separated by commas; for example: `"1,2,3"`. - message_ids: + unread_message_ids: type: array description: | The message IDs of the recent unread messages which have been sent in