From b45c5a30c84ecfe6d574fe68e770cc0a4c6c6640 Mon Sep 17 00:00:00 2001 From: Lauryn Menard Date: Mon, 22 Apr 2024 12:14:11 +0200 Subject: [PATCH] api-docs: Update API feature level 249 documentation. Updates the API changelog entry and changes notes for feature level 249 to match other API updates to narrow filters, and links to the help center article on emoji reactions in these notes. Feature level 249 changes were originally in commit c3408b56f0. --- api_docs/changelog.md | 11 +++++++---- api_docs/construct-narrow.md | 6 +++--- zerver/openapi/zulip.yaml | 20 ++++++++++++-------- 3 files changed, 22 insertions(+), 15 deletions(-) diff --git a/api_docs/changelog.md b/api_docs/changelog.md index fd6bed63a1..c418252e32 100644 --- a/api_docs/changelog.md +++ b/api_docs/changelog.md @@ -61,10 +61,13 @@ format used by the Zulip server that they are interacting with. **Feature level 249** -* [`GET /messages`](/api/get-messages), [`GET - /messages/matches_narrow`](/api/check-messages-match-narrow): Added - new `has:reaction` search operator, matching messages with at least - one emoji reaction. +* [`GET /messages`](/api/get-messages), + [`GET /messages/matches_narrow`](/api/check-messages-match-narrow), + [`POST /messages/flags/narrow`](/api/update-message-flags-for-narrow), + [`POST /register`](/api/register-queue): + Added support for a new [search/narrow filter](/api/construct-narrow), + `has:reaction`, which returns messages with at least one [emoji + reaction](/help/emoji-reactions). **Feature level 248** diff --git a/api_docs/construct-narrow.md b/api_docs/construct-narrow.md index 07bf9e1cbb..bee84fa777 100644 --- a/api_docs/construct-narrow.md +++ b/api_docs/construct-narrow.md @@ -58,9 +58,9 @@ operator is an alias for the `streams` operator. Both `channel` and `channels` return the same exact results as `stream` and `streams` respectively. -In Zulip 9.0 (feature level 249), narrows gained support -for a new filter `has:reaction`. This allows clients to retrieve only -messages that have at least one reaction. +In Zulip 9.0 (feature level 249), support was added for a new filter, +`has:reaction`, which returns messages that have at least one [emoji +reaction](/help/emoji-reactions). In Zulip 7.0 (feature level 177), support was added for three filters related to direct messages: `is:dm`, `dm` and diff --git a/zerver/openapi/zulip.yaml b/zerver/openapi/zulip.yaml index deacc30377..29d2636e78 100644 --- a/zerver/openapi/zulip.yaml +++ b/zerver/openapi/zulip.yaml @@ -6208,8 +6208,9 @@ paths: which are aliases for (and return the same results as) the `stream` and `streams` filters respectively. - In Zulip 9.0 (feature level 249), added new `has:reaction` - filter, matching messages with at least one emoji reaction. + In Zulip 9.0 (feature level 249), narrows gained support for a new + filter, `has:reaction`, which returns messages with at least one + [emoji reaction](/help/emoji-reactions). In Zulip 7.0 (feature level 177), narrows gained support for three new filters related to direct messages: `is:dm`, `dm` and @@ -7086,8 +7087,9 @@ paths: which are aliases for (and return the same results as) the `stream` and `streams` filters respectively. - In Zulip 9.0 (feature level 249), added new `has:reaction` - filter, matching messages with at least one emoji reaction. + In Zulip 9.0 (feature level 249), narrows gained support for a new + filter, `has:reaction`, which returns messages with at least one + [emoji reaction](/help/emoji-reactions). In Zulip 7.0 (feature level 177), narrows gained support for three new filters related to direct messages: `is:dm`, `dm` and @@ -7518,8 +7520,9 @@ paths: which are aliases for (and return the same results as) the `stream` and `streams` filters respectively. - In Zulip 9.0 (feature level 249), added new `has:reaction` - filter, matching messages with at least one emoji reaction. + In Zulip 9.0 (feature level 249), narrows gained support for a new + filter, `has:reaction`, which returns messages with at least one + [emoji reaction](/help/emoji-reactions). In Zulip 7.0 (feature level 177), narrows gained support for three new filters related to direct messages: `is:dm`, `dm` and @@ -21557,8 +21560,9 @@ components: which are aliases for (and return the same results as) the `stream` and `streams` filters respectively. - In Zulip 9.0 (feature level 249), added new `has:reaction` - filter, matching messages with at least one emoji reaction. + In Zulip 9.0 (feature level 249), narrows gained support for a new + filter, `has:reaction`, which returns messages with at least one + [emoji reaction](/help/emoji-reactions). In Zulip 7.0 (feature level 177), narrows gained support for three new filters related to direct messages: `is:dm`, `dm` and