Related to https://github.com/grafana/oncall/issues/4748 - Added support for additional filters when getting webhooks: - `GET /api/plugins/grafana-oncall-app/resources/webhooks/?integration=CALBFV7RRDH93` (filter webhooks that are enabled for the specified integration) - `GET /api/plugins/grafana-oncall-app/resources/webhooks/?trigger_type=0` (filter webhooks with the given trigger type) - Allow triggering a Manual webhook using an alert group as context: `POST /api/plugins/grafana-oncall-app/resources/webhooks/<webhook public ID>/trigger_manual` Example payload: `{"alert_group": "I4A4I1UPSA7IC"}` (will return a 200 OK on success) --------- Co-authored-by: Rares Mardare <rares.mardare@grafana.com> |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| alert_group_status.py | ||
| trigger_webhook.py | ||