oncall-engine/engine/apps/public_api
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
..
serializers Allow editing assigned team via public api (#1619) 2023-04-05 06:39:30 +00:00
tests Teams redesign (#1528) 2023-03-22 00:57:20 +08:00
throttlers Add ratelimit for phone number verification (#1354) 2023-02-21 16:47:52 +08:00
views Allow editing assigned team via public api (#1619) 2023-04-05 06:39:30 +00:00
__init__.py World, meet OnCall! 2022-06-03 08:09:47 -06:00
constants.py Remove demo token related code/logic 2022-06-09 09:16:10 -03:00
custom_renderers.py World, meet OnCall! 2022-06-03 08:09:47 -06:00
helpers.py Remove demo token related code/logic 2022-06-09 09:16:10 -03:00
tf_sync.py Sync users and teams on tf requests (#1180) 2023-01-24 13:44:07 +08:00
urls.py First touch on grafana cloud notifications 2022-06-03 19:47:25 +04:00