oncall-engine/engine/apps/public_api/views
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 First touch on grafana cloud notifications 2022-06-03 19:47:25 +04:00
action.py Insight logs (#348) 2022-08-24 12:04:44 +05:00
alerts.py Optimize alert and alert group public api endpoints, add filter by id (#1274) 2023-02-03 17:05:08 +08:00
escalation_chains.py Allow editing assigned team via public api (#1619) 2023-04-05 06:39:30 +00:00
escalation_policies.py Insight logs (#348) 2022-08-24 12:04:44 +05:00
incidents.py Revert count query in alert groups internal api endpoint (#1285) 2023-02-03 20:01:46 +08:00
info.py Add info throttler 2022-06-08 18:25:58 +04:00
integrations.py Hide direct paging integrations (#1162) 2023-01-20 13:29:57 +00:00
maintaiable_object_mixin.py World, meet OnCall! 2022-06-03 08:09:47 -06:00
on_call_shifts.py Insight logs (#348) 2022-08-24 12:04:44 +05:00
organizations.py Remove demo token related code/logic 2022-06-09 09:16:10 -03:00
personal_notifications.py Remove auto-recreating logic for UserNotificationPolicy (#414) 2022-08-26 13:46:50 +05:00
phone_notifications.py Fix always error message for cloud notifications 2022-06-09 15:48:43 +04:00
resolution_notes.py Remove demo token related code/logic 2022-06-09 09:16:10 -03:00
routes.py Insight logs (#348) 2022-08-24 12:04:44 +05:00
schedules.py PD migrator: migrate on-call shifts using public API (#1317) 2023-02-23 11:34:03 +00:00
slack_channels.py Cleanup on deletion/archivation of slack channel (#822) 2022-11-16 17:56:05 +08:00
teams.py Sync users and teams on tf requests (#1180) 2023-01-24 13:44:07 +08:00
user_groups.py Remove demo token related code/logic 2022-06-09 09:16:10 -03:00
users.py Sync users and teams on tf requests (#1180) 2023-01-24 13:44:07 +08:00