Skip to content

armgit / zulip

Public Imported from GitHub
0

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.yaml
index 038439de84e..1993dad8958 100644
--- a/zerver/openapi/zulip.yaml
+++ b/zerver/openapi/zulip.yaml
@@ -5996,13 +5996,13 @@ paths:
post:
operationId: add-default-stream
tags: ["streams"]
- summary: Add a default stream
+ summary: Add a default channel
x-requires-administrator: true
description: |
- 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-users
requestBody:
required: true
content:
@@ -6012,7 +6012,7 @@ paths:
properties:
stream_id:
description: |
- The ID of the target stream.
+ The ID of the target channel.
type: integer
example: 10
required:
@@ -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-stream
summary: Remove a default stream