zulip/zerver/openapi
Tim Abbott 95606a7347 api: Return user IDs, not display emails, in subscribers endpoints.
Sometime in the deep past, Zulip the GET /users/me/subscriptions
endpoint started returning subscribers.  We noticed this and made it
optional via the include_subscribers parameter in
1af72a2745, however, we didn't notice
that they were being returned as emails rather than user IDs.

We migrated the core /register code paths to use subscriber IDs years
ago; this change completes that for the endpoints we forgot about.

The documentation allowed this error because we apparently had no
tests for this code path that used the actual API.
2021-07-18 11:32:28 -07:00
..
__init__.py openapi: Add missing __init__.py; fix type errors hidden by its absence. 2021-07-05 12:20:39 -07:00
curl_param_value_generators.py populate_db: Use do_create_realm for creating zulip realm. 2021-07-06 17:37:43 -07: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 openapi: Render all responses of an operation. 2021-07-13 08:33:43 -07:00
openapi.py openapi: Render all responses of an operation. 2021-07-13 08:33:43 -07:00
python_examples.py api: Return user IDs, not display emails, in subscribers endpoints. 2021-07-18 11:32:28 -07:00
test_curl_examples.py openapi: Make endpoint operationId dash-separated. 2021-07-13 16:46:22 -07:00
testing.yaml openapi: Add missing object types. 2020-08-12 16:11:29 -07:00
zulip.yaml api: Remove incorrect realm setting in 'realm/update_dict' schema. 2021-07-14 14:57:09 -07:00