mirror of
https://github.com/zulip/zulip.git
synced 2025-11-13 02:17:19 +00:00
api-docs: Update GET /streams/{stream_id} for channel.
Updates the API doc for GET /streams/{stream_id} endpoint to
use channel in descriptions instead of stream.
Part of the stream to channel rename project.
This commit is contained in:
committed by
Tim Abbott
parent
3d9a0aaf90
commit
c45aba51aa
@@ -18110,10 +18110,10 @@ paths:
|
||||
/streams/{stream_id}:
|
||||
get:
|
||||
operationId: get-stream-by-id
|
||||
summary: Get a stream by ID
|
||||
summary: Get a channel by ID
|
||||
tags: ["streams"]
|
||||
description: |
|
||||
Fetch details for the stream with the ID `stream_id`.
|
||||
Fetch details for the channel with the ID `stream_id`.
|
||||
|
||||
**Changes**: New in Zulip 6.0 (feature level 132).
|
||||
parameters:
|
||||
@@ -18164,7 +18164,7 @@ paths:
|
||||
allOf:
|
||||
- $ref: "#/components/schemas/InvalidChannelError"
|
||||
- description: |
|
||||
An example JSON response for when the stream ID is not valid:
|
||||
An example JSON response for when the channel ID is not valid:
|
||||
delete:
|
||||
operationId: archive-stream
|
||||
summary: Archive a stream
|
||||
|
||||
Reference in New Issue
Block a user