Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
api-docs: Document bulk mark as read endpoints as deprecated.
Lauryn Menard8905d918aea6
diff --git a/zerver/openapi/zulip.yaml b/zerver/openapi/zulip.yamlindex a9430503fb2..5fa3e71695f 100644--- a/zerver/openapi/zulip.yaml+++ b/zerver/openapi/zulip.yaml@@ -4853,6 +4853,7 @@ paths:An example JSON response for when the supplied stream does not exist:/mark_all_as_read:post:+ deprecated: trueoperationId: mark-all-as-readsummary: Mark all messages as readtags: ["messages"]@@ -4866,7 +4867,11 @@ paths:response. If all messages were marked as read, then the success responsewill return `"complete": true`.- **Changes**: Before Zulip 8.0 (feature level 211), if the server's+ **Changes**: Deprecated; clients should use the [update personal message+ flags for narrow](/api/update-message-flags-for-narrow) endpoint instead+ as this endpoint will be removed in a future release.++ Before Zulip 8.0 (feature level 211), if the server'sprocessing was interrupted by a timeout, but some messages were markedas read, then it would return `"result": "partially_completed"`, alongwith a `code` field for an error string, in the success response to@@ -4905,11 +4910,16 @@ paths:example: {"msg": "", "result": "success", "complete": true}/mark_stream_as_read:post:+ deprecated: trueoperationId: mark-stream-as-readsummary: Mark messages in a stream as readtags: ["messages"]description: |Mark all the unread messages in a stream as read.++ **Changes**: Deprecated; clients should use the [update personal message+ flags for narrow](/api/update-message-flags-for-narrow) endpoint instead+ as this endpoint will be removed in a future release.parameters:- name: stream_idin: query@@ -4924,11 +4934,16 @@ paths:$ref: "#/components/responses/SimpleSuccess"/mark_topic_as_read:post:+ deprecated: trueoperationId: mark-topic-as-readsummary: Mark messages in a topic as readtags: ["messages"]description: |Mark all the unread messages in a topic as read.++ **Changes**: Deprecated; clients should use the [update personal message+ flags for narrow](/api/update-message-flags-for-narrow) endpoint instead+ as this endpoint will be removed in a future release.parameters:- name: stream_idin: query@@ -6410,9 +6425,6 @@ paths:See also the endpoint for [updating flags on a range ofmessages within a narrow](/api/update-message-flags-for-narrow).- For updating the `read` flag on common collections of messages, see also- the- [special endpoints for marking message as read in bulk](/api/mark-all-as-read).x-parameter-description: |## Available flags<div>