Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
api docs: Sync list of realm settings with reality.
Tim Abbott864fb7c97857
diff --git a/zerver/openapi/zulip.yaml b/zerver/openapi/zulip.yamlindex 092957add04..8e5a36f7b00 100644--- a/zerver/openapi/zulip.yaml+++ b/zerver/openapi/zulip.yaml@@ -3412,72 +3412,101 @@ paths:description: |An object containing the properties that have changed.properties:+ add_custom_emoji_policy:+ type: integer+ description: |+ The policy for which users can add custom emoji in this organization.allow_edit_history:type: booleandescription: |Whether this organization is configured to allow users to access[message edit history](/help/view-a-messages-edit-history).+ allow_message_editing:+ type: boolean+ description: |+ Whether this organizations [message edit policy](/help/configure-message-editing-and-deletion)+ allows editing the content of messages.+ authentication_methods:+ type: object+ additionalProperties:+ description: |+ Boolean describing whether the authentication method (i.e its key)+ is enabled in this organization.+ type: boolean+ description: |+ Dictionary of 'authentication_method_name': 'boolean' with each+ entry describing whether the authentication name can be used for+ authenticating into the organization.bot_creation_policy:type: integerdescription: |The policy for which users can create bot users in this organization.- create_stream_policy:- type: integer- description: |- The policy for which users can create streams in this organization.- invite_to_stream_policy:+ community_topic_editing_limit_seconds:type: integerdescription: |- The policy for which users can add other users to streams in this- organization.- move_messages_between_streams_policy:+ Messages sent more than this many seconds ago cannot have+ their topics edited by other users with this organization's+ [message edit policy](/help/configure-message-editing-and-deletion).++ **Changes**: New in Zulip 3.0 (feature level 11). Previously this+ value was hardcoded to 86400 seconds (1 day).+ create_public_stream_policy:type: integerdescription: |- The policy for which users can move messages from one stream to another.-- - 1 = Members only- - 2 = Administrators only- - 3 = Full members only- - 4 = Moderators only+ The policy for which users can+ create public streams in this organization.- **Changes**: New in Zulip 4.0 (feature level 56)- wildcard_mention_policy:+ **Changes**: Before Zulip 5.0 (feature level 102), permission to+ create streams was controlled by the `create_stream_policy` setting.+ create_private_stream_policy:type: integerdescription: |- The policy for who can use wildcard mentions in large streams.+ The policy for which users can+ create private streams in this organization.- - 1 => Any user can use wildcard mentions in large streams.- - 2 => Only members can use wildcard mentions in large streams.- - 3 => Only full members can use wildcard mentions in large streams.- - 4 => Only stream and organization administrators can use wildcard mentions in large streams.- - 5 => Only organization administrators can use wildcard mentions in large streams.- - 6 => Nobody can use wildcard mentions in large streams.- - 7 => Only organization adminstartors and moderators can use wildcard mentions in large streams.-- All users will receive a warning/reminder when using- mentions in large streams, even when permitted to do so.-- **Changes**: New in Zulip 4.0 (feature level 33). Moderators option added in- Zulip 4.0 (feature level 62).+ **Changes**: Before Zulip 5.0 (feature level 102), permission to+ create streams was controlled by the `create_stream_policy` setting.+ default_code_block_language:+ type: string+ nullable: true+ description: |+ The default pygments language code to be used for a code blocks+ in this organization. Null if no default has been set.+ default_language:+ type: string+ description: |+ The default language for the organization.description:type: stringdescription: |The description of the organization, used on login and registration pages.- giphy_rating:- type: integer- description: |- Maximum rating of the GIFs that will be retrieved from GIPHY.-- **Changes**: New in Zulip 4.0 (feature level 55).digest_emails_enabled:type: booleandescription: |Whether the organization has enabled [weekly digest emails](/help/digest-emails).+ digest_weekday:+ type: integer+ description: |+ The day of the week when the organization will send+ its weekly digest email to inactive users.disallow_disposable_email_addresses:type: booleandescription: |Whether the organization disallows disposable emailaddresses.+ edit_topic_policy:+ type: integer+ description: |+ The policy for which users can edit topics of any message.++ - 1 = members only+ - 2 = admins only+ - 3 = full members only+ - 4 = moderators only+ - 5 = everyone++ **Changes**: New in Zulip 5.0 (feature level 75), replacing the+ previous `allow_community_topic_editing` boolean.email_address_visibility:type: integerdescription: |@@ -3495,10 +3524,31 @@ paths:Whether users are allowed to change their own email address in thisorganization. This is typically disabled for organizations thatsynchronize accounts from LDAP or a similar corporate database.- invite_required:+ emails_restricted_to_domains:type: booleandescription: |- Whether an invitation is required to join this organization.+ Whether [new users joining](/help/allow-anyone-to-join-without-an-invitation)+ this organization are required to have an email+ address in one of the `realm_domains` configured for the organization.+ giphy_rating:+ type: integer+ description: |+ Maximum rating of the GIFs that will be retrieved from GIPHY.++ **Changes**: New in Zulip 4.0 (feature level 55).+ icon_source:+ type: string+ description: |+ String indicating whether the organization's+ [profile icon](/help/create-your-organization-profile) was uploaded+ by a user or is the default. Useful for UI allowing editing the organization's icon.++ - "G" means generated by Gravatar (the default).+ - "U" means uploaded by an organization administrator.+ icon_url:+ type: string+ description: |+ The URL of the organization's [profile icon](/help/create-your-organization-profile).inline_image_preview:type: booleandescription: |@@ -3509,86 +3559,48 @@ paths:description: |Whether this organization has been configured to enable[previews of linked websites](/help/allow-image-link-previews).- mandatory_topics:+ invite_required:type: booleandescription: |- Whether [topics are required](/help/require-topics) for messages in this organization.- name:- type: string+ Whether an invitation is required to join this organization.+ invite_to_realm_policy:+ type: integerdescription: |- The name of the organization, used in login pages etc.- name_changes_disabled:- type: boolean+ The policy for which users can invite other users+ to join the organization.++ **Changes**: New in Zulip 4.0 (feature level 50) replacing the+ previous `invite_by_admins_only` boolean.+ invite_to_stream_policy:+ type: integerdescription: |- Indicates whether users are- [allowed to change](/help/restrict-name-and-email-changes) their name- via the Zulip UI in this organization. Typically disabled- in organizations syncing this this type of account information- an external user database like LDAP.- avatar_changes_disabled:- type: boolean+ The policy for which users can add other users to streams in this+ organization.+ logo_source:+ type: stringdescription: |- Indicates whether users are- [allowed to change](/help/restrict-name-and-email-changes) their avatar- via the Zulip UI in this organization. Typically disabled- in organizations syncing this this type of account information- an external user database like LDAP.- emails_restricted_to_domains:- type: boolean+ String indicating whether the organization's+ [profile wide logo](/help/create-your-organization-profile) was uploaded+ by a user or is the default. Useful for UI allowing editing the+ organization's wide logo.++ - "D" means the logo is the default Zulip logo.+ - "U" means uploaded by an organization administrator.+ logo_url:+ type: stringdescription: |- Whether [new users joining](/help/allow-anyone-to-join-without-an-invitation)- this organization are required to have an email- address in one of the `realm_domains` configured for the organization.- send_welcome_emails:+ The URL of the organization's wide logo configured in the+ [organization profile](/help/create-your-organization-profile).+ mandatory_topics:type: booleandescription: |- Whether or not this organization is configured to send the standard Zulip- [welcome emails](/help/disable-welcome-emails) to new users joining the organization.+ Whether [topics are required](/help/require-topics) for messages in this organization.message_content_allowed_in_email_notifications:type: booleandescription: |Whether notification emails in this organization are allowed tocontain Zulip the message content, or simply indicate that a newmessage was sent.- video_chat_provider:- type: integer- description: |- The configured video call provider for the organization.- waiting_period_threshold:- type: integer- description: |- Members whose accounts have been created at least this many days ago- will be treated as [full members](/help/restrict-permissions-of-new-members)- for the purpose of settings that restrict access to new members.- digest_weekday:- type: integer- description: |- The day of the week when the organization will send- its weekly digest email to inactive users.- private_message_policy:- type: integer- description: |- Policy for [who can send private messages](/help/restrict-private-messages)- in this organization.-- - 1 = Everyone- - 2 = Nobody- user_group_edit_policy:- type: integer- description: |- The organization's policy for [who can manage user groups- ](/help/restrict-user-group-management).-- - 1 = All members can create and edit user groups- - 2 = Only organization administrators can create and edit user groups- - 3 = Only full members can create and edit user groups- - 4 = Only organization administrators and moderators can create and edit user groups- default_code_block_language:- type: string- nullable: true- description: |- The default pygments language code to be used for a code blocks- in this organization. Null if no default has been set.message_content_delete_limit_seconds:type: integernullable: true@@ -3602,72 +3614,39 @@ paths:**Changes**: No limit was represented using thespecial value `0` before Zulip 5.0 (feature level 100).- authentication_methods:- type: object- additionalProperties:- description: |- Boolean describing whether the authentication method (i.e its key)- is enabled in this organization.- type: boolean- description: |- Dictionary of 'authentication_method_name': 'boolean' with each- entry describing whether the authentication name can be used for- authenticating into the organization.- allow_message_editing:- type: boolean- description: |- Whether this organizations [message edit policy](/help/configure-message-editing-and-deletion)- allows editing the content of messages.- edit_topic_policy:- type: integer- description: |- The policy for which users can edit topics of any message.-- - 1 = members only- - 2 = admins only- - 3 = full members only- - 4 = moderators only- - 5 = everyone-- **Changes**: New in Zulip 5.0 (feature level 75), replacing the- previous `allow_community_topic_editing` boolean.message_content_edit_limit_seconds:type: integerdescription: |Messages sent more than this many seconds ago cannot be editedwith this organization's[message edit policy](/help/configure-message-editing-and-deletion).- community_topic_editing_limit_seconds:+ move_messages_between_streams_policy:type: integerdescription: |- Messages sent more than this many seconds ago cannot have- their topics edited by other users with this organization's- [message edit policy](/help/configure-message-editing-and-deletion).+ The policy for which users can move messages from one stream to another.- **Changes**: New in Zulip 3.0 (feature level 11). Previously this- value was hardcoded to 86400 seconds (1 day).- icon_url:- type: string- description: |- The URL of the organization's [profile icon](/help/create-your-organization-profile).- icon_source:- type: string- description: |- String indicating whether the organization's- [profile icon](/help/create-your-organization-profile) was uploaded- by a user or is the default. Useful for UI allowing editing the organization's icon.+ - 1 = Members only+ - 2 = Administrators only+ - 3 = Full members only+ - 4 = Moderators only- - "G" means generated by Gravatar (the default).- - "U" means uploaded by an organization administrator.- logo_url:+ **Changes**: New in Zulip 4.0 (feature level 56)+ name:type: stringdescription: |- The URL of the organization's wide logo configured in the- [organization profile](/help/create-your-organization-profile).- logo_source:+ The name of the organization, used in login pages etc.+ name_changes_disabled:+ type: boolean+ description: |+ Indicates whether users are+ [allowed to change](/help/restrict-name-and-email-changes) their name+ via the Zulip UI in this organization. Typically disabled+ in organizations syncing this this type of account information+ an external user database like LDAP.+ night_logo_source:type: stringdescription: |- String indicating whether the organization's+ String indicating whether the organization's night theme[profile wide logo](/help/create-your-organization-profile) was uploadedby a user or is the default. Useful for UI allowing editing theorganization's wide logo.@@ -3679,21 +3658,14 @@ paths:description: |The URL of the organization's night theme wide-format logo configured in the[organization profile](/help/create-your-organization-profile).- night_logo_source:- type: string+ notifications_stream_id:+ type: integerdescription: |- String indicating whether the organization's night theme- [profile wide logo](/help/create-your-organization-profile) was uploaded- by a user or is the default. Useful for UI allowing editing the- organization's wide logo.+ The ID of the stream to which notifications announcing the+ creation of new streams are sent. -1 if such notifications are disabled.- - "D" means the logo is the default Zulip logo.- - "U" means uploaded by an organization administrator.- presence_disabled:- type: boolean- description: |- Whether online presence of other users is shown in this- organization.+ Since these notifications are sent by the server, this field is+ primarily relevant to clients containing UI for changing it.plan_type:type: integerdescription: |@@ -3703,14 +3675,24 @@ paths:- 2 = Zulip Cloud free plan (LIMITED)- 3 = Zulip Cloud Standard plan (STANDARD)- 4 = Zulip Cloud Standard plan, sponsored for free (STANDARD_FREE)- notifications_stream_id:+ presence_disabled:+ type: boolean+ description: |+ Whether online presence of other users is shown in this+ organization.+ private_message_policy:type: integerdescription: |- The ID of the stream to which notifications announcing the- creation of new streams are sent. -1 if such notifications are disabled.+ Policy for [who can send private messages](/help/restrict-private-messages)+ in this organization.- Since these notifications are sent by the server, this field is- primarily relevant to clients containing UI for changing it.+ - 1 = Everyone+ - 2 = Nobody+ send_welcome_emails:+ type: boolean+ description: |+ Whether or not this organization is configured to send the standard Zulip+ [welcome emails](/help/disable-welcome-emails) to new users joining the organization.signup_notifications_stream_id:type: integerdescription: |@@ -3720,6 +3702,44 @@ paths:Since these notifications are sent by the server, this field isprimarily relevant to clients containing UI for changing it.+ user_group_edit_policy:+ type: integer+ description: |+ The organization's policy for [who can manage user groups+ ](/help/restrict-user-group-management).++ - 1 = All members can create and edit user groups+ - 2 = Only organization administrators can create and edit user groups+ - 3 = Only full members can create and edit user groups+ - 4 = Only organization administrators and moderators can create and edit user groups+ video_chat_provider:+ type: integer+ description: |+ The configured video call provider for the organization.+ waiting_period_threshold:+ type: integer+ description: |+ Members whose accounts have been created at least this many days ago+ will be treated as [full members](/help/restrict-permissions-of-new-members)+ for the purpose of settings that restrict access to new members.+ wildcard_mention_policy:+ type: integer+ description: |+ The policy for who can use wildcard mentions in large streams.++ - 1 => Any user can use wildcard mentions in large streams.+ - 2 => Only members can use wildcard mentions in large streams.+ - 3 => Only full members can use wildcard mentions in large streams.+ - 4 => Only stream and organization administrators can use wildcard mentions in large streams.+ - 5 => Only organization administrators can use wildcard mentions in large streams.+ - 6 => Nobody can use wildcard mentions in large streams.+ - 7 => Only organization adminstartors and moderators can use wildcard mentions in large streams.++ All users will receive a warning/reminder when using+ mentions in large streams, even when permitted to do so.++ **Changes**: New in Zulip 4.0 (feature level 33). Moderators option added in+ Zulip 4.0 (feature level 62).additionalProperties: falseexample:{