oncall-engine/docs/sources/oncall-api-reference
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
..
_index.md Fix docs, change team to organization in ratelimits, as previously te… (#2135) 2023-06-08 13:47:13 +00:00
alertgroups.md Public API: Acknowledge & Resolve actions (#3108) 2023-10-05 09:46:48 +01:00
alerts.md augment API response pagination attributes (#2471) 2023-07-14 11:19:40 -04:00
escalation_chains.md augment API response pagination attributes (#2471) 2023-07-14 11:19:40 -04:00
escalation_policies.md Update escalation policies public API to handle new webhooks (#2999) 2023-09-11 10:50:18 -03:00
integrations.md augment API response pagination attributes (#2471) 2023-07-14 11:19:40 -04:00
on_call_shifts.md augment API response pagination attributes (#2471) 2023-07-14 11:19:40 -04:00
outgoing_webhooks.md Fixing broken links in docs (#3097) 2023-10-05 11:41:31 +03:00
personal_notification_rules.md augment API response pagination attributes (#2471) 2023-07-14 11:19:40 -04:00
resolution_notes.md augment API response pagination attributes (#2471) 2023-07-14 11:19:40 -04:00
routes.md augment API response pagination attributes (#2471) 2023-07-14 11:19:40 -04:00
schedules.md Add schedules enable_web_overrides option to public API (#3062) 2023-09-26 14:04:53 -03:00
shift_swaps.md Add shift swaps API docs (#2784) 2023-08-16 14:16:37 -03:00
slack_channels.md augment API response pagination attributes (#2471) 2023-07-14 11:19:40 -04:00
user_groups.md augment API response pagination attributes (#2471) 2023-07-14 11:19:40 -04:00
users.md Remove duplicate line (#2934) 2023-08-31 13:15:27 -06:00