zulip/zerver/openapi
Lauryn Menard 072051f81e api: Add additional fields to `edit_history` entries.
Since we've changed the database to contain these new fields, we just
need to stop dropping them in the API code.

This also changes the public API to match the database format again
by removing `prev_subject` from edit history API.

Adds an API changelog feature update for the renamed `prev_subject`
field (to `prev_topic`) and new fields (`topic` and `stream`)
in the message `edit_history`.

Also, documents said `edit_history` in the `MessagesBase` schema
in the api documentation, which is used by the `/get-messages`,
`/get-events` and `/zulip-outgoing-webhooks` endpoints.

Fixes #21076.

Co-authored-by: Lauryn Menard <lauryn.menard@gmail.com>
2022-03-04 10:25:48 -08: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 streams: Add notifications for permission policy changes. 2022-01-21 13:59:34 -08:00
javascript_examples.js eslint: Fix unicorn/no-new-array. 2021-01-25 14:53:19 -08:00
javascript_examples.py python: Replace universal_newlines with text. 2022-01-23 22:16:01 -08:00
markdown_extension.py python: Reformat with Black 22 (stable). 2022-02-18 18:03:13 -08:00
openapi.py docs: Fix many spelling mistakes. 2022-02-07 18:51:06 -08:00
python_examples.py openapi: Validate Python example responses against the entire schema. 2022-01-13 14:34:11 -08:00
test_curl_examples.py python: Replace universal_newlines with text. 2022-01-23 22:16:01 -08:00
testing.yaml test_openapi: Make testing.yml a full conformant specification. 2022-01-13 14:34:11 -08:00
zulip.yaml api: Add additional fields to `edit_history` entries. 2022-03-04 10:25:48 -08:00