From 880ab441f6069fe8aa965b1c5042a3cdc3aaf462 Mon Sep 17 00:00:00 2001 From: Lauryn Menard Date: Mon, 20 May 2024 13:54:12 +0200 Subject: [PATCH] api-docs: Update POST /user_topics for channel. Updates the API doc for POST /user_topics endpoint to use channel in descriptions instead of stream. Part of the stream to channel rename project. --- zerver/openapi/zulip.yaml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/zerver/openapi/zulip.yaml b/zerver/openapi/zulip.yaml index 4c32e91a3b..c3a5331ce9 100644 --- a/zerver/openapi/zulip.yaml +++ b/zerver/openapi/zulip.yaml @@ -9853,7 +9853,7 @@ paths: [mute a topic](/help/mute-a-topic) and related features. This endpoint can be used to update the visibility policy for the single - stream and topic pair indicated by the parameters for a user. + channel and topic pair indicated by the parameters for a user. **Changes**: New in Zulip 7.0 (feature level 170). Previously, toggling whether a topic was muted or unmuted was managed by the @@ -9867,7 +9867,7 @@ paths: properties: stream_id: description: | - The ID of the stream to access. + The ID of the channel to access. type: integer example: 1 topic: @@ -9886,11 +9886,11 @@ paths: Controls which visibility policy to set. - 0 = None. Removes the visibility policy previously set for the topic. - - 1 = Muted. [Mutes the topic](/help/mute-a-topic) in a stream. - - 2 = Unmuted. [Unmutes the topic](/help/mute-a-topic) in a muted stream. + - 1 = Muted. [Mutes the topic](/help/mute-a-topic) in a channel. + - 2 = Unmuted. [Unmutes the topic](/help/mute-a-topic) in a muted channel. - 3 = Followed. [Follows the topic](/help/follow-a-topic). - In an unmuted stream, a topic visibility policy of unmuted will have the + In an unmuted channel, a topic visibility policy of unmuted will have the same effect as the "None" visibility policy. **Changes**: In Zulip 7.0 (feature level 219), added followed as