oncall-engine/engine/apps/public_api/serializers
Ildar Iskhakov 498e7ed5f3
Allow editing assigned team via public api (#1619)
# What this PR does

For example, changing the integration's team
```
curl "localhost:8080/api/v1/integrations/CLYV3QBVHDV3T/" \
  --request PUT \
  --header "Authorization: meow" \
  --header "Content-Type: application/json" --data '{"team_id": "TWP6JJJN6LYZX"}'
```

## Which issue(s) this PR fixes

## Checklist

- [ ] Unit, integration, and e2e (if applicable) tests updated
- [ ] Documentation added (or `pr:no public docs` PR label added if not
required)
- [ ] `CHANGELOG.md` updated (or `pr:no changelog` PR label added if not
required)
2023-04-05 06:39:30 +00:00
..
__init__.py World, meet OnCall! 2022-06-03 08:09:47 -06:00
action.py Allow editing assigned team via public api (#1619) 2023-04-05 06:39:30 +00:00
alerts.py World, meet OnCall! 2022-06-03 08:09:47 -06:00
escalation_chains.py Allow editing assigned team via public api (#1619) 2023-04-05 06:39:30 +00:00
escalation_policies.py Check for duplicated positions in TF escalation policies (#1554) 2023-03-16 11:48:11 +00:00
incidents.py Revert count query in alert groups internal api endpoint (#1285) 2023-02-03 20:01:46 +08:00
integrations.py Allow editing assigned team via public api (#1619) 2023-04-05 06:39:30 +00: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 Allow editing assigned team via public api (#1619) 2023-04-05 06:39:30 +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 Allow editing assigned team via public api (#1619) 2023-04-05 06:39:30 +00:00
schedules_ical.py Allow editing assigned team via public api (#1619) 2023-04-05 06:39:30 +00: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 Allow editing assigned team via public api (#1619) 2023-04-05 06:39:30 +00: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