Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
api-docs: Change "streams" tag to "channels" in zulip.yaml.
Lauryn Menardf39e4e80874d
diff --git a/zerver/openapi/zulip.yaml b/zerver/openapi/zulip.yamlindex cf14b106383..34c32a1fecb 100644--- a/zerver/openapi/zulip.yaml+++ b/zerver/openapi/zulip.yaml@@ -5096,7 +5096,7 @@ paths:get:operationId: get-stream-idsummary: Get channel ID- tags: ["streams"]+ tags: ["channels"]description: |Get the unique ID of a given channel.parameters:@@ -5995,7 +5995,7 @@ paths:/default_streams:post:operationId: add-default-stream- tags: ["streams"]+ tags: ["channels"]summary: Add a default channelx-requires-administrator: truedescription: |@@ -6047,7 +6047,7 @@ paths:delete:operationId: remove-default-streamsummary: Remove a default channel- tags: ["streams"]+ tags: ["channels"]description: |Remove a channel from the set of [default channels][default-channels]for new users joining the organization.@@ -9076,7 +9076,7 @@ paths:get:operationId: get-stream-topicssummary: Get topics in a channel- tags: ["streams"]+ tags: ["channels"]description: |Get all topics the user has access to in a specific channel.@@ -9142,7 +9142,7 @@ paths:get:operationId: get-subscriptionssummary: Get subscribed channels- tags: ["streams"]+ tags: ["channels"]description: |Get all channels that the user is subscribed to.# operationId can be used to record which view function@@ -9230,7 +9230,7 @@ paths:post:operationId: subscribesummary: Subscribe to a channel- tags: ["streams"]+ tags: ["channels"]description: |Subscribe one or more users to one or more channels.@@ -9476,7 +9476,7 @@ paths:patch:operationId: update-subscriptionssummary: Update subscriptions- tags: ["streams"]+ tags: ["channels"]description: |Update which channels you are subscribed to.requestBody:@@ -9595,7 +9595,7 @@ paths:delete:operationId: unsubscribesummary: Unsubscribe from a channel- tags: ["streams"]+ tags: ["channels"]description: |Unsubscribe yourself or other users from one or more channels.@@ -9721,7 +9721,7 @@ paths:deprecated: trueoperationId: mute-topicsummary: Topic muting- tags: ["streams"]+ tags: ["channels"]description: |[Mute or unmute a topic](/help/mute-a-topic) within a channel thatthe current user is subscribed to.@@ -9846,7 +9846,7 @@ paths:post:operationId: update-user-topicsummary: Update personal preferences for a topic- tags: ["streams"]+ tags: ["channels"]description: |This endpoint is used to update the personal preferences for a topic,such as the topic's visibility policy, which is used to implement@@ -10237,7 +10237,7 @@ paths:get:operationId: get-subscription-statussummary: Get subscription status- tags: ["streams"]+ tags: ["channels"]description: |Check whether a user is subscribed to a channel.@@ -11344,7 +11344,7 @@ paths:post:operationId: update-subscription-settingssummary: Update subscription settings- tags: ["streams"]+ tags: ["channels"]description: |This endpoint is used to update the user's personal settings for thechannels they are subscribed to, including muting, color, pinning, and@@ -17858,7 +17858,7 @@ paths:get:operationId: get-subscriberssummary: Get the subscribers of a channel- tags: ["streams"]+ tags: ["channels"]description: |Get all users subscribed to a channel.parameters:@@ -17899,7 +17899,7 @@ paths:get:operationId: get-streamssummary: Get all channels- tags: ["streams"]+ tags: ["channels"]description: |Get all channels that the user [has access to](/help/channel-permissions).x-curl-examples-parameters:@@ -18111,7 +18111,7 @@ paths:get:operationId: get-stream-by-idsummary: Get a channel by ID- tags: ["streams"]+ tags: ["channels"]description: |Fetch details for the channel with the ID `stream_id`.@@ -18168,7 +18168,7 @@ paths:delete:operationId: archive-streamsummary: Archive a channel- tags: ["streams"]+ tags: ["channels"]description: |[Archive the channel](/help/archive-a-channel) with the ID `stream_id`.x-requires-administrator: true@@ -18189,7 +18189,7 @@ paths:patch:operationId: update-streamsummary: Update a channel- tags: ["streams"]+ tags: ["channels"]description: |Configure the channel with the ID `stream_id`. This endpoint supportsan organization administrator editing any property of a channel,@@ -18352,7 +18352,7 @@ paths:get:operationId: get-stream-email-addresssummary: Get the email address of a channel- tags: ["streams"]+ tags: ["channels"]description: |Get email address of a channel.@@ -18396,7 +18396,7 @@ paths:post:operationId: delete-topicsummary: Delete a topic- tags: ["streams"]+ tags: ["channels"]description: |Delete all messages in a topic.@@ -19368,7 +19368,7 @@ paths:/calls/bigbluebutton/create:get:- tags: ["streams"]+ tags: ["channels"]operationId: create-big-blue-button-video-callsummary: Create BigBlueButton video calldescription: |diff --git a/zerver/tests/test_openapi.py b/zerver/tests/test_openapi.pyindex 4a96d3dc1d5..96ed4d1dfff 100644--- a/zerver/tests/test_openapi.py+++ b/zerver/tests/test_openapi.py@@ -1010,7 +1010,7 @@ class OpenAPIAttributesTest(ZulipTestCase):"server_and_organizations","authentication","real_time_events",- "streams",+ "channels","messages","drafts","webhooks",