Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
api-docs: Clean up descriptions in unread_msgs register response.
Lauryn Menardab54a3b79289
diff --git a/zerver/openapi/zulip.yaml b/zerver/openapi/zulip.yamlindex 8d571e2e286..93bed42cd39 100644--- a/zerver/openapi/zulip.yaml+++ b/zerver/openapi/zulip.yaml@@ -11776,21 +11776,19 @@ paths:pms:type: arraydescription: |- An array of dictionaries where each entry contains details- of unread direct messages with a specific user.+ An array of objects where each object contains details of unread+ one-on-one direct messages with a specific user.++ Note that it is possible for a message that the current user sent+ to the specified user to be marked as unread and thus appear here.items:type: object- description: |- Object containing the details of unread direct messages with- a specific user. Note that in rare situations, it is possible- for a message that the current user sent to another user to- be marked as unread and thus appear here.additionalProperties: falseproperties:other_user_id:type: integerdescription: |- The user ID of the other participant in this non-group direct+ The user ID of the other participant in this one-on-one directmessage conversation. Will be the current user's ID for messagesthat they sent in a one-on-one direct message conversation withthemself.@@ -11812,34 +11810,30 @@ paths:type: arraydescription: |The message IDs of the recent unread direct messages sent- by the other user.+ by either user in this one-on-one direct message conversation.items:type: integerstreams:type: arraydescription: |- An array of dictionaries where each dictionary contains- details of all unread messages of a single subscribed stream,- including muted streams.+ An array of objects where each object contains details of unread+ messages of a single subscribed stream, including muted streams.- **Changes**: Prior to Zulip 5.0 (feature level 90), the- dictionaries included an additional `sender_ids` key listing- the set of IDs of users who had sent the unread messages.+ **Changes**: Prior to Zulip 5.0 (feature level 90), these objects+ included a `sender_ids` property, which listed the set of IDs of+ users who had sent the unread messages.items:type: object- description: |- `{message_id}`: Object containing the details of a unread stream- message with the message_id as the key.additionalProperties: falseproperties:topic:type: stringdescription: |- The topic under which the message was sent.+ The topic under which the messages were sent.stream_id:type: integerdescription: |- The ID of the stream to which the message was sent.+ The ID of the stream to which the messages were sent.unread_message_ids:type: arraydescription: |@@ -11849,13 +11843,10 @@ paths:huddles:type: arraydescription: |- An array of dictionaries where each entry contains details- of unread group direct messages with a specific group of users.+ An array of objects where each object contains details of unread+ group direct messages with a specific group of users.items:type: object- description: |- Object containing the details of unread group direct messages- with a specific group of users.additionalProperties: falseproperties:user_ids_string: