mirror of https://github.com/zulip/zulip.git
api-docs: Update GET /users/me/subscriptions for channel.
Updates the API doc for GET /users/me/subscriptions endpoint to use channel in descriptions instead of stream. Part of the stream to channel rename project.
This commit is contained in:
parent
a090dc32a1
commit
1f6a01eb28
|
@ -9141,10 +9141,10 @@ paths:
|
|||
/users/me/subscriptions:
|
||||
get:
|
||||
operationId: get-subscriptions
|
||||
summary: Get subscribed streams
|
||||
summary: Get subscribed channels
|
||||
tags: ["streams"]
|
||||
description: |
|
||||
Get all streams that the user is subscribed to.
|
||||
Get all channels that the user is subscribed to.
|
||||
# operationId can be used to record which view function
|
||||
# corresponds to an endpoint. TODO: Add these for more
|
||||
# endpoints, and perhaps use this to provide links to implementations.
|
||||
|
@ -9182,7 +9182,7 @@ paths:
|
|||
type: array
|
||||
description: |
|
||||
A list of dictionaries where each dictionary contains
|
||||
information about one of the subscribed streams.
|
||||
information about one of the subscribed channels.
|
||||
|
||||
**Changes**: Removed `email_address` field from the dictionary
|
||||
in Zulip 8.0 (feature level 226).
|
||||
|
|
|
@ -174,7 +174,7 @@ class DocPageTest(ZulipTestCase):
|
|||
"/api/get-own-user": "does not accept any parameters.",
|
||||
"/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-subscriptions": "Get all channels that the user is subscribed to.",
|
||||
"/api/get-users": "client_gravatar",
|
||||
"/api/installation-instructions": "No download required!",
|
||||
"/api/register-queue": "apply_markdown",
|
||||
|
|
Loading…
Reference in New Issue