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: Document changes in API topic encoding.

Tim Abbott6412ea6413da
diff --git a/templates/zerver/api/changelog.md b/templates/zerver/api/changelog.md
index e2044165cc8..12225ae613a 100644
--- a/templates/zerver/api/changelog.md
+++ b/templates/zerver/api/changelog.md
@@ -258,6 +258,11 @@ below features are supported.
* [`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
+ /messages/{message_id}`](/api/update-message): Added support for
+ encoding topics using the `topic` parameter name. The previous
+ `subject` parameter name was deprecated but is still supported for
+ backwards-compatibility.
* [`POST /set-typing-status`](/api/set-typing-status): Added support for specifying the
recipients with user IDs, deprecating the original API of specifying
them using email addresses.
diff --git a/zerver/openapi/zulip.yaml b/zerver/openapi/zulip.yaml
index 8c8734773b9..165db06120a 100644
--- a/zerver/openapi/zulip.yaml
+++ b/zerver/openapi/zulip.yaml
@@ -5008,6 +5008,9 @@ components:
(`type="stream"`), ignored otherwise.
Maximum length of 60 characters.
+
+ **Changes**: New in Zulip 2.0. Previous Zulip releases encoded
+ this as `subject`, which is currently a deprecated alias.
schema:
type: string
example: Castle