zulip/templates/zerver/api
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
..
api-doc-template.md openapi: Render all responses of an operation. 2021-07-13 08:33:43 -07:00
api-keys.md help: Update help pages according to profile page redesign. 2021-06-30 16:56:03 -07:00
changelog.md api: Return user IDs, not display emails, in subscribers endpoints. 2021-07-18 11:32:28 -07:00
client-libraries.md docs: Add top level page for language bindings. 2019-11-22 04:33:18 -08:00
configuring-python-bindings.md docs: Fix more capitalization issues. 2020-10-23 11:46:55 -07:00
construct-narrow.md docs: Correct “webapp” to “web app”. 2021-05-14 13:15:38 -07:00
create-stream.md api docs: Correct errors in the stream creation documentation. 2020-06-25 14:34:10 -07:00
deploying-bots.md settings: Rename 'Your bots' to 'Bots' in settings sidebar. 2021-07-01 12:14:48 -07:00
incoming-webhooks-overview.md docs: Update how to build an incoming webhook docs. 2021-05-08 07:46:26 -07:00
incoming-webhooks-walkthrough.md settings: Rename 'Your bots' to 'Bots' in settings sidebar. 2021-07-01 12:14:48 -07:00
index.md openapi: Make api-docs filename match with operationIds. 2020-06-18 22:38:05 -07:00
installation-instructions.md api docs: Fix link to client libraries. 2019-11-22 11:08:44 -08:00
integrations-overview.md docs: Deemphasize Hubot as an integration bridge. 2021-06-09 14:04:01 -07:00
mark-all-as-read.md openapi: Render all responses of an operation. 2021-07-13 08:33:43 -07:00
missing.md
non-webhook-integrations.md docs: Extract a Writing Documentation top-level section. 2019-05-29 15:52:11 -07:00
outgoing-webhooks.md openapi: Render all responses of an operation. 2021-07-13 08:33:43 -07:00
real-time-events.md docs: Allow passing additional params to `call_on_each_event`. 2021-04-06 08:40:32 -07:00
rest-error-handling.md openapi: Render all responses of an operation. 2021-07-13 08:33:43 -07:00
rest.md docs: Fix more capitalization issues. 2020-10-23 11:46:55 -07:00
running-bots.md api: Document using `pip3 install` for zulip_bots(erver). 2019-08-23 15:51:06 -07:00
send-message.md openapi: Render all responses of an operation. 2021-07-13 08:33:43 -07:00
sidebar_index.md api docs: Avoid confusing the API changelog with the changelog. 2021-05-11 22:00:05 -07:00
writing-bots.md docs: Add syntax highlighting in api docs. 2021-06-01 10:03:25 -07:00