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: Improve `topic` parameter docs to list restricted values.

Prakhar Pratyush46f518fdbf16
diff --git a/zerver/openapi/zulip.yaml b/zerver/openapi/zulip.yaml
index 5c6c0aadb1b..b49a760a977 100644
--- a/zerver/openapi/zulip.yaml
+++ b/zerver/openapi/zulip.yaml
@@ -7220,6 +7220,9 @@ paths:
the [POST /register](/api/register-queue) response is used for this
parameter, it is interpreted as an empty string.
+ When [topics are required](/help/require-topics), this parameter can't
+ be `"(no topic)"`, an empty string, or `realm_empty_topic_display_name`.
+
**Changes**: Before Zulip 10.0 (feature level 334), empty string
was not a valid topic name for channel messages.
@@ -8561,6 +8564,9 @@ paths:
the [POST /register](/api/register-queue) response is used for this
parameter, it is interpreted as an empty string.
+ When [topics are required](/help/require-topics), this parameter can't
+ be `"(no topic)"`, an empty string, or `realm_empty_topic_display_name`.
+
You can [resolve topics](/help/resolve-a-topic) by editing the topic to
`✔ {original_topic}` with the `propagate_mode` parameter set to
`"change_all"`. The empty string topic cannot be marked as resolved.