zulip/zerver/openapi
Sumanth V Rao 1ac8fe7538 events/tests/api: Send realm_playground events to clients.
We send the whole data set as a part of the event rather than
doing an add/remove operation for couple of reasons:
    * This would make the client logic simpler.
    * The playground data is small enough for us to not worry
      about performance.

Tweaked both `fetch_initial_state_data` and `apply_events` to
handle the new playground event.

Tests added to validate the event matches the expected schema.

Documented realm_playgrounds sections inside /events and
/register to support our openapi validation system in test_events.

Tweaked other tests like test_event_system.py and test_home.py
to account for the new event being generated.

Lastly, documented the changes to the API endpoints in
api/changelog.md and bumped API_FEATURE_LEVEL.

Tweaked by tabbott to add an `id` field in RealmPlayground objects
sent to clients, which is essential to sending the API request to
remove one.
2021-04-06 20:56:58 -07:00
..
curl_param_value_generators.py realm/playground: Add API endpoint for deleting a playground entry. 2021-04-07 08:20:53 +05:30
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 realm/playground: Add API endpoint for deleting a playground entry. 2021-04-07 08:20:53 +05:30
test_curl_examples.py api docs: Add documentation of deactivate-own-user endpoint. 2021-03-25 01:05:44 -07:00
testing.yaml openapi: Add missing object types. 2020-08-12 16:11:29 -07:00
zulip.yaml events/tests/api: Send realm_playground events to clients. 2021-04-06 20:56:58 -07:00