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 GET /streams/{stream_id}/members for channel.

Lauryn Menard2b7187567612
diff --git a/zerver/openapi/zulip.yaml b/zerver/openapi/zulip.yaml
index a8fe121dcac..d603e3ad48f 100644
--- a/zerver/openapi/zulip.yaml
+++ b/zerver/openapi/zulip.yaml
@@ -17857,10 +17857,10 @@ paths:
/streams/{stream_id}/members:
get:
operationId: get-subscribers
- summary: Get the subscribers of a stream
+ summary: Get the subscribers of a channel
tags: ["streams"]
description: |
- Get all users subscribed to a stream.
+ Get all users subscribed to a channel.
parameters:
- $ref: "#/components/parameters/ChannelIdInPath"
responses:
@@ -17882,7 +17882,7 @@ paths:
type: integer
description: |
A list containing the IDs of all active users who are subscribed
- to the stream.
+ to the channel.
example:
{"result": "success", "msg": "", "subscribers": [11, 26]}
"400":
@@ -17893,8 +17893,8 @@ paths:
allOf:
- $ref: "#/components/schemas/InvalidChannelError"
- description: |
- An example JSON response for when the requested stream does not exist,
- or where the user does not have permission to access the target stream:
+ An example JSON response for when the requested channel does not exist,
+ or where the user does not have permission to access the target channel:
/streams:
get:
operationId: get-streams