Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
api-docs: Update descriptions in /get_stream_id for channel.
Lauryn Menard030863a58575
diff --git a/zerver/openapi/zulip.yaml b/zerver/openapi/zulip.yamlindex de00e2145f9..66e003d1767 100644--- a/zerver/openapi/zulip.yaml+++ b/zerver/openapi/zulip.yaml@@ -5095,15 +5095,15 @@ paths:/get_stream_id:get:operationId: get-stream-id- summary: Get stream ID+ summary: Get channel IDtags: ["streams"]description: |- Get the unique ID of a given stream.+ Get the unique ID of a given channel.parameters:- name: streamin: querydescription: |- The name of the stream to access.+ The name of the channel to access.schema:type: stringexample: Denmark@@ -5124,7 +5124,7 @@ paths:stream_id:type: integerdescription: |- The ID of the given stream.+ The ID of the given channel.example: {"msg": "", "result": "success", "stream_id": 15}"400":description: Bad request.@@ -5140,7 +5140,7 @@ paths:"result": "error",}description: |- An example JSON response for when the supplied stream does not exist:+ An example JSON response for when the supplied channel does not exist:/mark_all_as_read:post:deprecated: truediff --git a/zerver/tests/test_docs.py b/zerver/tests/test_docs.pyindex 8183a7ac881..cd5b211d751 100644--- a/zerver/tests/test_docs.py+++ b/zerver/tests/test_docs.py@@ -172,7 +172,7 @@ class DocPageTest(ZulipTestCase):"/api/delete-queue": "Delete a previously registered queue","/api/get-events": "dont_block","/api/get-own-user": "does not accept any parameters.",- "/api/get-stream-id": "The name of the stream to access.",+ "/api/get-stream-id": "The name of the channel to access.","/api/get-streams": "include_public","/api/get-subscriptions": "Get all streams that the user is subscribed to.","/api/get-users": "client_gravatar",