Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
api-docs: Update POST /default_streams for channel.
Lauryn Menard43cb33df1aac
diff --git a/zerver/openapi/zulip.yaml b/zerver/openapi/zulip.yamlindex 038439de84e..1993dad8958 100644--- a/zerver/openapi/zulip.yaml+++ b/zerver/openapi/zulip.yaml@@ -5996,13 +5996,13 @@ paths:post:operationId: add-default-streamtags: ["streams"]- summary: Add a default stream+ summary: Add a default channelx-requires-administrator: truedescription: |- Add a stream to the set of [default streams][default-streams]+ Add a channel to the set of [default channels][default-channels]for new users joining the organization.- [default-streams]: /help/set-default-channels-for-new-users+ [default-channels]: /help/set-default-channels-for-new-usersrequestBody:required: truecontent:@@ -6012,7 +6012,7 @@ paths:properties:stream_id:description: |- The ID of the target stream.+ The ID of the target channel.type: integerexample: 10required:@@ -6032,7 +6032,7 @@ paths:- allOf:- $ref: "#/components/schemas/InvalidChannelError"- description: |- A typical failed JSON response for when an invalid stream ID is passed:+ A typical failed JSON response for when an invalid channel ID is passed:- allOf:- $ref: "#/components/schemas/CodedError"- example:@@ -6042,8 +6042,8 @@ paths:"result": "error",}description: |- A typical failed JSON response for when a user tries to add a private stream- to the default streams set:+ A typical failed JSON response for when a user tries to add a private channel+ to the default channels set:delete:operationId: remove-default-streamsummary: Remove a default stream