zulip/zerver/openapi
Tushar912 55de66f944 api: Support user_id in get_user_presence_endpoint.
This is part of our general process of replacing emails, which are not
static with time, with user_ids when referring to users in the API.

We still keep the `email` reference option, since it can be useful for
linking third-party applications to Zulip on an intranet that might
have a user's corporate email handy and not want to do the extra round
trip to lookup the user.

The name of the parameter, user_id_or_email, was chosen to to make it
clear that the default/preferred option is user_id.

Fixes #14304.
2021-03-11 20:14:04 -08:00
..
curl_param_value_generators.py api: Support user_id in get_user_presence_endpoint. 2021-03-11 20:14:04 -08:00
javascript_examples.js eslint: Fix unicorn/no-new-array. 2021-01-25 14:53:19 -08:00
javascript_examples.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
markdown_extension.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
openapi.py api docs: Expand checking for deprecated fields. 2021-02-16 15:34:52 -08:00
python_examples.py api: Support user_id in get_user_presence_endpoint. 2021-03-11 20:14:04 -08:00
test_curl_examples.py python: Reformat with Black, except quotes. 2021-02-12 13:11:19 -08:00
testing.yaml openapi: Add missing object types. 2020-08-12 16:11:29 -07:00
zulip.yaml api: Support user_id in get_user_presence_endpoint. 2021-03-11 20:14:04 -08:00