oncall-engine/engine/apps
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
..
alerts Public API: Acknowledge & Resolve actions (#3108) 2023-10-05 09:46:48 +01:00
api Public API: Acknowledge & Resolve actions (#3108) 2023-10-05 09:46:48 +01:00
api_for_grafana_incident Add render_for_web information to alert group incident API (#3005) 2023-09-12 12:02:42 +00:00
auth_token Return API URL as part of status (#2791) 2023-08-22 17:17:26 +00:00
base WIP: Direct paging improvements (#3064) 2023-09-28 03:57:49 +00:00
email Minor formatting changes (#2641) 2023-07-26 14:45:44 +01:00
grafana_plugin Status to not access grafana headers from mobile request (#2870) 2023-08-23 19:39:02 +00:00
heartbeat Use periodic task for heartbeats (#2723) 2023-08-10 02:25:00 +00:00
integrations Fixing ratelimit texts 2023-09-27 14:18:00 +03:00
metrics_exporter Fix metrics and dashboard (#2895) 2023-08-29 13:52:24 +00:00
mobile_app Notify user when their shift swap request is taken (#2992) 2023-09-07 14:59:54 +00:00
oss_installation Minor formatting changes (#2641) 2023-07-26 14:45:44 +01:00
phone_notifications Re-enable a few mypy rules + fix existing errors (#2725) 2023-08-03 09:43:03 +00:00
public_api Public API: Acknowledge & Resolve actions (#3108) 2023-10-05 09:46:48 +01:00
schedules Update schedule filter events endpoint to return additional shift info (#3110) 2023-10-04 16:47:27 +00:00
slack Handle Slack ratelimit on alert group deletion (#3038) 2023-09-19 08:41:47 +00:00
social_auth apps.get_model -> import (#2619) 2023-07-25 09:43:23 +00:00
telegram Fix "Replied message not found" Telegram bug (#3013) 2023-09-12 15:55:13 +00:00
twilioapp Minor formatting changes (#2641) 2023-07-26 14:45:44 +01:00
user_management Direct paging improvements (hotfix) (#3079) 2023-09-28 13:54:30 +08:00
webhooks Allow deletion for removed presets (#3072) 2023-09-27 10:21:55 -06:00
zvonok Minor formatting changes (#2641) 2023-07-26 14:45:44 +01:00
__init__.py World, meet OnCall! 2022-06-03 08:09:47 -06:00