diff --git a/templates/zerver/api/changelog.md b/templates/zerver/api/changelog.md index d061c10825..82ba8f60d7 100644 --- a/templates/zerver/api/changelog.md +++ b/templates/zerver/api/changelog.md @@ -1080,6 +1080,9 @@ No changes; feature level used for Zulip 3.0 release. ## Changes in Zulip 2.0 +* [`PATCH /users/me/subscriptions/muted_topics`](/api/mute-topic): + Added support for using stream IDs to specify the stream in which to + mute/unmute a topic. * [`POST /messages`](/api/send-message): Added support for using user IDs and stream IDs for specifying the recipients of a message. * [`POST /messages`](/api/send-message), [`POST diff --git a/zerver/openapi/zulip.yaml b/zerver/openapi/zulip.yaml index 862fb7a40e..57df8e858f 100644 --- a/zerver/openapi/zulip.yaml +++ b/zerver/openapi/zulip.yaml @@ -7447,22 +7447,31 @@ paths: enum: - stream_id parameters: - - name: stream - in: query - description: | - The name of the stream to access. - schema: - type: string - example: Denmark - required: false - name: stream_id in: query description: | The ID of the stream to access. + + Clients must provide either `stream` or `stream_id` as a parameter + to this endpoint, but not both. + + **Changes**: New in Zulip 2.0. schema: type: integer example: 43 required: false + - name: stream + in: query + description: | + The name of the stream to access. + + Clients must provide either `stream` or `stream_id` as a parameter + to this endpoint, but not both. Clients should use `stream_id` + instead of the `stream` parameter when possible. + schema: + type: string + example: Denmark + required: false - name: topic in: query description: |