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: Delete additional improperly documented update_dict fields.

Tim Abbott744f96df614f
diff --git a/zerver/openapi/zulip.yaml b/zerver/openapi/zulip.yaml
index 000fe3d6e1b..092957add04 100644
--- a/zerver/openapi/zulip.yaml
+++ b/zerver/openapi/zulip.yaml
@@ -3689,90 +3689,11 @@ paths:
- "D" means the logo is the default Zulip logo.
- "U" means uploaded by an organization administrator.
- bot_domain:
- type: string
- description: |
- The fake email domain that will be used for new bots created this
- organization. Useful for UI for creating bots.
- realm_uri:
- type: string
- description: |
- The URL for the organization.
- available_video_chat_providers:
- type: object
- description: |
- Dictionary where each entry describes a supported
- [video call provider](/help/start-a-call)
- that is configured on this server and could be selected by an
- organization administrator.
-
- Useful for administrative settings UI that allows changing the
- video call provider.
- additionalProperties:
- description: |
- `{provider_name}`: Dictionary containing the details of the
- video call provider with the name of the chat provider as
- the key.
- type: object
- additionalProperties: false
- properties:
- name:
- type: string
- description: |
- The name of the video call provider.
- id:
- type: integer
- description: |
- The ID of the video call provider.
presence_disabled:
type: boolean
description: |
Whether online presence of other users is shown in this
organization.
- settings_send_digest_emails:
- type: boolean
- description: |
- Whether this Zulip server is configured to allow organizations to
- enable [digest emails](/help/digest-emails).
-
- Relevant for administrative settings UI that can change the digest
- email settings.
- is_zephyr_mirror_realm:
- type: boolean
- description: |
- Whether the organization is a Zephyr mirror realm.
- email_auth_enabled:
- type: boolean
- description: |
- Whether the organization has enabled Zulip's default email and password
- authentication feature. Determines whether Zulip stores a password
- for the user and clients should offer any UI for changing the user's
- Zulip password.
- password_auth_enabled:
- type: boolean
- description: |
- Whether the organization allows any sort of password-based
- authentication (whether via EmailAuthBackend or LDAP passwords).
-
- Determines whether a client might ever need to display a password prompt
- (clients will primarily look at this attribute in [server_settings](/api/get-server-settings)
- before presenting a login page).
- push_notifications_enabled:
- type: boolean
- description: |
- Whether push notifications are enabled for this organization. Typically
- `false` for self-hosted servers that have not configured the
- [Mobile push notifications service](https://zulip.readthedocs.io/en/latest/production/mobile-push-notifications.html).
- upload_quota:
- type: integer
- nullable: true
- description: |
- The total quota for uploaded files in this organization.
-
- Clients are not responsible for checking this quota; it is included
- in the API only for display purposes.
-
- Null if there is no limit.
plan_type:
type: integer
description: |
@@ -3782,115 +3703,6 @@ paths:
- 2 = Zulip Cloud free plan (LIMITED)
- 3 = Zulip Cloud Standard plan (STANDARD)
- 4 = Zulip Cloud Standard plan, sponsored for free (STANDARD_FREE)
- zulip_plan_is_not_limited:
- type: boolean
- description: |
- Whether the organization is using a limited (Zulip Cloud Free) plan.
- upgrade_text_for_wide_organization_logo:
- type: string
- description: |
- Text to use when displaying UI for wide organization logos, a feature
- that is currently not available on the Zulip Cloud Free plan.
-
- Useful only for clients supporting administrative UI for uploading
- a new wide organization logo to brand the organization.
- default_external_accounts:
- type: object
- description: |
- Dictionary where each entry describes a default external
- account type that can be configured with Zulip's custom
- profile fields feature.
- additionalProperties:
- description: |
- `{site_name}`: Dictionary containing the details of the
- default external account provider with the name of the
- website as the key.
- type: object
- additionalProperties: false
- properties:
- name:
- type: string
- description: |
- The name of the external account provider
- text:
- type: string
- description: |
- The text describing the external account.
- hint:
- type: string
- description: |
- The help text to be displayed for the
- custom profile field in user-facing
- settings UI for configuring custom
- profile fields for this account.
- url_pattern:
- type: string
- description: |
- The regex pattern of the URL of a profile page
- on the external site.
- jitsi_server_url:
- type: string
- description: |
- The base URL the organization uses to create Jitsi video calls.
- development_environment:
- type: boolean
- description: |
- Whether this Zulip server is a development environment. Used
- to control certain features or UI (such as error popups)
- that should only apply when connected to a Zulip development
- environment.
- server_generation:
- type: integer
- description: |
- A timestamp indicating when the process hosting this
- event queue was started. Clients will likely only find
- this value useful for inclusion in detailed error reports.
- password_min_length:
- type: integer
- description: |
- This Zulip server's configured minimum required length for passwords.
- Necessary for password change UI to show whether the password
- will be accepted.
- password_min_guesses:
- type: integer
- description: |
- This Zulip server's configured minimum `zxcvbn` minimum guesses.
- Necessary for password change UI to show whether the password
- will be accepted.
- max_file_upload_size_mib:
- type: integer
- description: |
- The maximum file size that can be uploaded to this Zulip server.
- max_avatar_file_size_mib:
- type: integer
- description: |
- The maximum avatar size that can be uploaded to this Zulip server.
- server_inline_image_preview:
- type: boolean
- description: |
- Whether the server is configured with support for inline image previews.
- Clients containing administrative UI for changing
- `realm_inline_image_preview` should consult this field before offering
- that feature.
- server_inline_url_embed_preview:
- type: boolean
- description: |
- Whether the server is configured with support for inline URL previews.
- Clients containing administrative UI for changing
- `realm_inline_url_embed_preview` should consult this field before offering
- that feature.
- server_avatar_changes_disabled:
- type: boolean
- description: |
- Whether the server allows avatar changes. Similar to
- `realm_avatar_changes_disabled` but based on the `AVATAR_CHANGES_DISABLED`
- Zulip server level setting.
- server_name_changes_disabled:
- type: boolean
- description: |
- Whether the server allows name changes. Similar to
- `realm_name_changes_disabled` but based on the `NAME_CHANGES_DISABLED`
- Zulip server level setting.
notifications_stream_id:
type: integer
description: |