oncall-engine/engine/apps/public_api/serializers
Vadim Stepanov bd12d38ee0
Public API: allow null escalation chain when creating routes (#1557)
# What this PR does
Allows passing `null` as a value for `escalation_chain` when creating
routes via the public API.

## Which issue(s) this PR fixes
This is needed to unblock https://github.com/grafana/oncall/pull/1555 +
creating a route without an escalation chain is possible in the web UI,
so this PR makes the public API more consistent with the web UI.

## Checklist

- [x] Tests updated
- [x] Documentation added
- [x] `CHANGELOG.md` updated
2023-03-16 09:40:50 +00:00
..
__init__.py World, meet OnCall! 2022-06-03 08:09:47 -06:00
action.py Use common environment for templates 2022-11-05 00:31:51 -06:00
alerts.py World, meet OnCall! 2022-06-03 08:09:47 -06:00
escalation_chains.py World, meet OnCall! 2022-06-03 08:09:47 -06:00
escalation_policies.py World, meet OnCall! 2022-06-03 08:09:47 -06:00
incidents.py Revert count query in alert groups internal api endpoint (#1285) 2023-02-03 20:01:46 +08:00
integrations.py Fix of templates api behaviour for public and private api (#1408) 2023-03-01 16:32:15 +08:00
integtration_heartbeat.py World, meet OnCall! 2022-06-03 08:09:47 -06:00
maintenance.py World, meet OnCall! 2022-06-03 08:09:47 -06:00
on_call_shifts.py PD migrator: migrate overrides (#1454) 2023-03-06 13:44:28 +00:00
organizations.py World, meet OnCall! 2022-06-03 08:09:47 -06:00
personal_notification_rules.py World, meet OnCall! 2022-06-03 08:09:47 -06:00
resolution_notes.py World, meet OnCall! 2022-06-03 08:09:47 -06:00
routes.py Public API: allow null escalation chain when creating routes (#1557) 2023-03-16 09:40:50 +00:00
schedules_base.py Remove demo token related code/logic 2022-06-09 09:16:10 -03:00
schedules_calendar.py centralize timezone validation + add serializer validation for on call shifts and schedules (#924) 2022-12-01 14:13:39 +01:00
schedules_ical.py World, meet OnCall! 2022-06-03 08:09:47 -06:00
schedules_polymorphic.py Initial web schedule model and serializers. Add override shift type. 2022-07-05 12:41:55 -03:00
schedules_web.py centralize timezone validation + add serializer validation for on call shifts and schedules (#924) 2022-12-01 14:13:39 +01:00
slack_channel.py World, meet OnCall! 2022-06-03 08:09:47 -06:00
teams.py World, meet OnCall! 2022-06-03 08:09:47 -06:00
user_groups.py World, meet OnCall! 2022-06-03 08:09:47 -06:00
users.py Add RBAC Support (#777) 2022-11-29 09:41:56 +01:00