Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
api-docs: Revise main description for /get-user-by-email endpoint.
Lauryn Menard58a64b33c95d
diff --git a/zerver/openapi/zulip.yaml b/zerver/openapi/zulip.yamlindex 0957e9e63ba..2d0736426a4 100644--- a/zerver/openapi/zulip.yaml+++ b/zerver/openapi/zulip.yaml@@ -9925,16 +9925,15 @@ paths:Fetch details for a single user in the organization given a ZulipAPI email address.- Note that this endpoint uses Zulip display emails addresses- for organizations that have configured limited [email address- visibility](/help/configure-email-visibility).+ You can also fetch details on [all users in the organization](/api/get-users)+ or [by user ID](/api/get-user).- You can also fetch details on [all users in the organization](/api/get-users) or- [by user ID](/api/get-user). Fetching by user ID is generally recommended- when possible, as users can- [change their email address](/help/change-your-email-address).+ Fetching by user ID is generally recommended when possible,+ as a user might [change their email address](/help/change-your-email-address)+ or change their [email address visibility](/help/configure-email-visibility),+ either of which could change the value of their Zulip API email address.- _This endpoint is new in Zulip Server 4.0 (feature level 39)._+ **Changes**: New in Zulip Server 4.0 (feature level 39).x-curl-examples-parameters:oneOf:- type: include