zulip/templates/zerver/api
Steve Howell d5cc29755e typing: Accept only user_ids in typing endpoint.
The only clients that should use the typing
indicators endpoint are our internal clients,
and they should send a JSON-formatted list
of user_ids.

We now enforce this, which removes some
complexity surrounding legacy ways of sending
users, such as emails and comma-delimited
strings of user_ids.

There may be a very tiny number of mobile
clients that still use the old emails API.

This won't have any user-facing effect on
the mobile users themselves, but if you type
a message to your friend on an old mobile
app, the friend will no longer see typing
indicators.

Also, the mobile team may see some errors
in their Sentry logs from the server rejecting
posts from the old mobile clients.

The error messages we report here are a bit
more generic, since we now just use REQ
to do validation with this code:

    validator=check_list(check_int)

This also allows us to remove a test hack
related to the API documentation.  (We changed
the docs to reflect the modern API in an
earlier commit, but the tests couldn't be
fixed while we still had the more complex
semantics for the "to" parameter.)
2020-06-10 17:50:32 -07:00
..
add-emoji-reaction.md openapi: Create markdown extension for rendering endpoint descriptions. 2020-04-28 12:57:19 -07:00
add-linkifiers.md openapi: Add markdown extension for rendering return values in API docs. 2020-05-29 15:02:56 -07:00
add-subscriptions.md openapi: Add markdown extension for rendering return values in API docs. 2020-05-29 15:02:56 -07:00
api-keys.md api docs: Update api-keys. 2018-09-25 21:02:58 -07:00
changelog.md typing: Accept only user_ids in typing endpoint. 2020-06-10 17:50:32 -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 api docs: Make minor copyediting changes. 2018-09-25 20:48:12 -07:00
construct-narrow.md docs: Further expand documentation on using IDs in narrows. 2019-09-16 17:17:03 -07:00
create-stream.md api docs: Explain clearly how to create new streams. 2018-07-01 08:41:37 -07:00
create-user-group.md openapi: Use description markdown for rendering endpoint descriptions. 2020-04-28 12:57:19 -07:00
create-user.md js-api: Migrate and test create-user example. 2020-05-20 10:18:29 -07:00
deactivate-user.md openapi: Use description markdown for rendering endpoint descriptions. 2020-04-28 12:57:19 -07:00
delete-message.md openapi: Use description markdown for rendering endpoint descriptions. 2020-04-28 12:57:19 -07:00
delete-queue.md openapi: Use description markdown for rendering endpoint descriptions. 2020-04-28 12:57:19 -07:00
delete-stream.md openapi_responses: Fix delete_stream. 2020-05-27 21:29:03 +05:30
delete-user-group.md openapi: Use description markdown for rendering endpoint descriptions. 2020-04-28 12:57:19 -07:00
deploying-bots.md api_docs: Change `zulipchat.com` links to relative internal links. 2020-05-29 15:04:50 -07:00
dev-fetch-api-key.md openapi: Add markdown extension for rendering return values in API docs. 2020-05-29 15:02:56 -07:00
get-all-streams.md openapi: Add markdown extension for rendering return values in API docs. 2020-05-29 15:02:56 -07:00
get-all-users.md openapi: Add markdown extension for rendering return values in API docs. 2020-05-29 15:02:56 -07:00
get-events-from-queue.md openapi: Add markdown extension for rendering return values in API docs. 2020-05-29 15:02:56 -07:00
get-message-history.md openapi: Add markdown extension for rendering return values in API docs. 2020-05-29 15:02:56 -07:00
get-messages.md openapi: Add markdown extension for rendering return values in API docs. 2020-05-29 15:02:56 -07:00
get-org-emoji.md openapi: Add markdown extension for rendering return values in API docs. 2020-05-29 15:02:56 -07:00
get-presence.md openapi: Add markdown extension for rendering return values in API docs. 2020-05-29 15:02:56 -07:00
get-profile.md openapi: Add markdown extension for rendering return values in API docs. 2020-05-29 15:02:56 -07:00
get-raw-message.md openapi: Add markdown extension for rendering return values in API docs. 2020-05-29 15:02:56 -07:00
get-stream-id.md openapi: Add markdown extension for rendering return values in API docs. 2020-05-29 15:02:56 -07:00
get-stream-topics.md openapi: Add markdown extension for rendering return values in API docs. 2020-05-29 15:02:56 -07:00
get-subscribed-streams.md openapi: Add markdown extension for rendering return values in API docs. 2020-05-29 15:02:56 -07:00
get-user-groups.md openapi: Add markdown extension for rendering return values in API docs. 2020-05-29 15:02:56 -07:00
get-user.md openapi: Add markdown extension for rendering return values in API docs. 2020-05-29 15:02:56 -07:00
incoming-webhooks-overview.md docs: Advertise Slack-compatible webhook a bit. 2020-05-11 00:07:28 -07:00
incoming-webhooks-walkthrough.md docs: Update URLs to use https://zulip.com. 2020-06-08 18:10:45 -07:00
index.md api docs: Link to our zapier and ifttt /integrations pages. 2018-08-10 10:37:49 -07:00
installation-instructions.md api docs: Fix link to client libraries. 2019-11-22 11:08:44 -08:00
integrations-overview.md docs: Advertise Slack-compatible webhook a bit. 2020-05-11 00:07:28 -07:00
list-linkifiers.md openapi: Add markdown extension for rendering return values in API docs. 2020-05-29 15:02:56 -07:00
mark-as-read-bulk.md openapi: Use description markdown for rendering endpoint descriptions. 2020-04-28 12:57:19 -07:00
missing.md
mute-topics.md openapi: Use description markdown for rendering endpoint descriptions. 2020-04-28 12:57:19 -07:00
non-webhook-integrations.md docs: Extract a Writing Documentation top-level section. 2019-05-29 15:52:11 -07:00
outgoing-webhooks.md api_docs: Change `zulipchat.com` links to relative internal links. 2020-05-29 15:04:50 -07:00
reactivate-user.md api docs: Document POST /users/{user_id}/reactivate endpoint. 2020-05-19 23:10:50 -07:00
real-time-events.md api docs: Migrate REAL-TIME /events to OpenAPI. 2020-03-27 17:43:35 -07:00
register-queue.md openapi: Add markdown extension for rendering return values in API docs. 2020-05-29 15:02:56 -07:00
remove-emoji-reaction.md openapi: Use description markdown for rendering endpoint descriptions. 2020-04-28 12:57:19 -07:00
remove-linkifiers.md openapi: Use description markdown for rendering endpoint descriptions. 2020-04-28 12:57:19 -07:00
remove-subscriptions.md openapi: Add markdown extension for rendering return values in API docs. 2020-05-29 15:02:56 -07:00
render-message.md openapi: Add markdown extension for rendering return values in API docs. 2020-05-29 15:02:56 -07:00
rest-error-handling.md openapi: Use serialized response codes instead of descriptive ones. 2020-04-17 11:49:58 -07:00
rest.md docs: Add top level page for language bindings. 2019-11-22 04:33:18 -08: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: Add markdown extension for rendering return values in API docs. 2020-05-29 15:02:56 -07:00
server-settings.md docs: Update most remaining references to zulipchat.com. 2020-06-08 18:10:45 -07:00
sidebar_index.md api docs: Add an API changelog page. 2020-04-28 22:23:25 -07:00
typing.md openapi: Use description markdown for rendering endpoint descriptions. 2020-04-28 12:57:19 -07:00
update-message-flags.md openapi: Add markdown extension for rendering return values in API docs. 2020-05-29 15:02:56 -07:00
update-message.md openapi: Use description markdown for rendering endpoint descriptions. 2020-04-28 12:57:19 -07:00
update-notification-settings.md openapi: Use description markdown for rendering endpoint descriptions. 2020-04-28 12:57:19 -07:00
update-stream.md openapi_responses: Fix update_stream. 2020-05-27 11:23:14 -07:00
update-subscription-properties.md openapi: Use description markdown for rendering endpoint descriptions. 2020-04-28 12:57:19 -07:00
update-user-group.md openapi: Use description markdown for rendering endpoint descriptions. 2020-04-28 12:57:19 -07:00
update-user.md openapi: Use description markdown for rendering endpoint descriptions. 2020-04-28 12:57:19 -07:00
upload-custom-emoji.md openapi: Use description markdown for rendering endpoint descriptions. 2020-04-28 12:57:19 -07:00
upload-file.md openapi: Add markdown extension for rendering return values in API docs. 2020-05-29 15:02:56 -07:00
writing-bots.md python: Convert more variable type annotations to Python 3.6 style. 2020-05-08 16:42:43 -07:00