oncall-engine/engine/apps/webhooks/migrations
Matias Bordese e93858e136
Add manual trigger support for webhooks (#4934)
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>
2024-09-09 12:17:23 +00:00
..
0001_initial.py Add webhooks app and initial models (#1101) 2023-03-09 19:39:25 +00:00
0002_auto_20230320_1604.py Keep webhook responses data (#1580) 2023-03-21 13:43:37 +00:00
0003_auto_20230412_0006.py New webhook improvements (#1728) 2023-04-13 12:52:29 -06:00
0004_auto_20230418_0109.py Add unacknowledge trigger for new webhooks (#1768) 2023-04-18 13:03:33 -06:00
0005_webhook_is_legacy.py Add is_legacy column to handle webhook migration (#1813) 2023-04-25 11:22:56 -03:00
0006_auto_20230426_1631.py Webhook 2 improvements and fixes (#1829) 2023-04-26 15:55:08 -06:00
0007_webhookresponse_event_data.py Rares/add template editor to webhooks (#2455) 2023-07-11 18:03:34 +00:00
0008_auto_20230712_1613.py Add manual trigger support for webhooks (#4934) 2024-09-09 12:17:23 +00:00
0009_alter_webhook_authorization_header.py Increase max size of authorization_header in DB (#2720) 2023-08-02 14:32:10 +00:00
0010_alter_webhook_trigger_type.py Webhooks Public API (#2790) 2023-08-22 14:05:52 -06:00
0011_auto_20230920_1813.py Add webhook presets (#2996) 2023-09-27 07:22:52 -06:00
0012_alter_webhook_team.py When team is removed do not delete webhooks belonging to it (#3873) 2024-02-15 17:53:55 +00:00
0013_alter_webhook_trigger_type_and_more.py Add status change trigger type to webhooks (#3920) 2024-02-19 14:12:56 -03:00
0014_webhook_filtered_integrations.py Migrate webhooks integration_filter to use a m2m field instead (#3946) 2024-02-23 11:55:44 +00:00
0015_webhook_is_from_connected_integration.py Add is_from_connected_integration field to webhook model (#3951) 2024-02-23 15:57:57 +00:00
0016_auto_20240402_1341.py cleanup orphaned CustomButton escalation policy steps (#4143) 2024-04-02 15:23:07 +00:00
0017_alter_webhook_trigger_type_and_more.py Add manual trigger support for webhooks (#4934) 2024-09-09 12:17:23 +00:00
__init__.py Add webhooks app and initial models (#1101) 2023-03-09 19:39:25 +00:00