oncall-engine/engine/apps/api
Vadim Stepanov a727450d49
Public API: Acknowledge & Resolve actions (#3108)
# What this PR does

Makes it possible to acknowledge/unacknowledge and resolve/unresolve
alert groups via public API, and makes sure these actions are reflected
properly in the alert group timeline.

## Demo

```bash
curl --request POST \
     --header "Authorization: TOKEN" \
     http://localhost:8080/api/v1/alert_groups/IQMHLV8INB24N/resolve
```

<img width="651" alt="Screenshot 2023-10-04 at 16 05 27"
src="https://github.com/grafana/oncall/assets/20116910/d4e66868-0132-4b6b-95c7-8424fced7c0b">

## Which issue(s) this PR fixes

https://github.com/grafana/oncall/issues/3051

## Checklist

- [x] Unit, integration, and e2e (if applicable) tests updated
- [x] Documentation added (or `pr:no public docs` PR label added if not
required)
- [x] `CHANGELOG.md` updated (or `pr:no changelog` PR label added if not
required)
2023-10-05 09:46:48 +01:00
..
serializers Update schedule filter events endpoint to return additional shift info (#3110) 2023-10-04 16:47:27 +00:00
tests Public API: Acknowledge & Resolve actions (#3108) 2023-10-05 09:46:48 +01:00
throttlers Fix warnings when running backend tests (#2079) 2023-06-06 18:38:00 +00:00
views Update schedule filter events endpoint to return additional shift info (#3110) 2023-10-04 16:47:27 +00:00
__init__.py World, meet OnCall! 2022-06-03 08:09:47 -06:00
errors.py Fix backend for resolution notes via mobile app (#2117) 2023-06-07 12:19:16 +00:00
permissions.py add new 'Alert Groups Direct Paging' RBAC role (#3107) 2023-10-03 19:28:26 -04:00
urls.py remove shift swap feature flag (#2755) 2023-08-04 16:12:33 +02:00