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: Update API docs and changelog for new setting.

Tim Abbottd860b8e56867
diff --git a/templates/zerver/api/changelog.md b/templates/zerver/api/changelog.md
index 4e2484cbea7..5303b11caeb 100644
--- a/templates/zerver/api/changelog.md
+++ b/templates/zerver/api/changelog.md
@@ -20,6 +20,11 @@ format used by the Zulip server that they are interacting with.
## Changes in Zulip 5.0
+**Feature level 110**
+
+* [`POST /register`](/api/register-queue): Added
+ `server_web_public_streams_enabled` to the response.
+
**Feature level 109**
* [`POST /register`](/api/register-queue), [`GET
diff --git a/zerver/openapi/zulip.yaml b/zerver/openapi/zulip.yaml
index 28c185f81fe..2926d3c83a3 100644
--- a/zerver/openapi/zulip.yaml
+++ b/zerver/openapi/zulip.yaml
@@ -11105,9 +11105,14 @@ paths:
description: |
Present if `realm` is present in `fetch_event_types`.
- Whether web public streams are enabled in the server. Similar topic_name
- `realm_enable_spectator_access` but based on the `WEB_PUBLIC_STREAMS_ENABLED`
- Zulip server level setting.
+ The value of the `WEB_PUBLIC_STREAMS_ENABLED` Zulip server level
+ setting. A server that has disabled this setting intends to not offer [web
+ public streams](/help/web-public-streams) to realms it hosts. (Zulip Cloud
+ defaults to `True`; self-hosted servers default to `False`).
+
+ Clients should use this to determine whether to offer UI for the
+ realm-level setting for enabling we-public streams
+ (`realm_enable_spectator_access`).
**Changes**: New in Zulip 5.0 (feature level 110).
event_queue_longpoll_timeout_seconds: