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: Add changelog entry for user/stream ID narrow options.

Lauryn Menard2047ca8f16e0
diff --git a/templates/zerver/api/changelog.md b/templates/zerver/api/changelog.md
index 82ba8f60d79..8a436d0db3f 100644
--- a/templates/zerver/api/changelog.md
+++ b/templates/zerver/api/changelog.md
@@ -1041,6 +1041,9 @@ No changes; feature level used for Zulip 3.0 release.
## Changes in Zulip 2.1
+* [`GET /messages`](/api/get-messages): Added support for
+ [search/narrow options](/api/construct-narrow) that use stream/user
+ IDs to specify a message's sender, its stream, and/or its recipient(s).
* [`GET /users`](/api/get-users): Added `include_custom_profile_fields`
to request custom profile field data.
* [`GET /users/me`](/api/get-own-user): Added `avatar_url` field,
diff --git a/zerver/openapi/zulip.yaml b/zerver/openapi/zulip.yaml
index a8905bb851d..f48225da801 100644
--- a/zerver/openapi/zulip.yaml
+++ b/zerver/openapi/zulip.yaml
@@ -4859,6 +4859,10 @@ paths:
description: |
The narrow where you want to fetch the messages from. See how to
[construct a narrow](/api/construct-narrow).
+
+ **Changes**: In Zulip 2.1, added support for using user/stream IDs
+ when constructing narrows for a message's sender, its stream and/or
+ its recipient(s).
content:
application/json:
schema: