|
2 | 2 | tags: [webhooks]
|
3 | 3 | ---
|
4 | 4 |
|
5 |
| -# Webhooks v3 Beta |
6 |
| - |
7 |
| -import Alert from 'react-bootstrap/Alert' |
| 5 | +# Webhooks Early Access |
8 | 6 |
|
9 | 7 | <!-- theme: warning -->
|
10 |
| -### V3 Webhooks are in Early Access |
11 |
| -The v3 Webhook features described on this page are still under development. The features are subject to change at any time. This page is for informational purposes only. |
| 8 | +> **Early Access Webhooks v3 Features** |
| 9 | +> |
| 10 | +> The items described on this page are still under development and are subject to change at any time. This page is for informational purposes only. |
| 11 | +
|
| 12 | +## Event Types |
| 13 | + |
| 14 | +### incident.action_invocation.created |
| 15 | +`data.type` is [`incident_action_invocation`](#incident_action_invocation) |
| 16 | + |
| 17 | +A Rundeck Action has been newly invoked on an existing Incident. The resource representing this Invocation has a state of "created", indicating it exists, but no progress has been made on it as yet. |
| 18 | + |
| 19 | +### incident.action_invocation.updated |
| 20 | +`data.type` is [`incident_action_invocation`](#incident_action_invocation) |
| 21 | + |
| 22 | +A Rundeck Action Invocation, running on an Incident, has had its lifecycle state updated. The Invocation is still considered active, and further lifecycle updates are expected. |
| 23 | + |
| 24 | +### incident.action_invocation.terminated |
| 25 | +`data.type` is [`incident_action_invocation`](#incident_action_invocation) |
| 26 | + |
| 27 | +A Rundeck Action Invocation, running on an Incident, has had its lifecycle state updated to a terminal state. This means it has completed, either successfully or in error, and no further updates will be made. |
| 28 | + |
| 29 | +## Event Data Types |
| 30 | + |
| 31 | +### incident_action_invocation |
| 32 | + |
| 33 | +```json |
| 34 | +{ |
| 35 | + "id": "01CELD6T9C2JS745I7CAK0LRRF", |
| 36 | + "self": "https://api.pagerduty.com/automation/invocations/01CELD6T9C2JS745I7CAK0LRRF", |
| 37 | + "html_url": "https://acme.pagerduty.com/rundeck-actions/actions/01CDYN0IRV4VG991K5FR73YNTW/invocations/01CELD6T9C2JS745I7CAK0LRRF/report", |
| 38 | + "incident": { |
| 39 | + "html_url": "https://acme.pagerduty.com/incidents/PBAZLIU", |
| 40 | + "id": "PBAZLIU", |
| 41 | + "self": "https://api.pagerduty.com/incidents/PBAZLIU", |
| 42 | + "summary": "An Incident", |
| 43 | + "type": "incident_reference" |
| 44 | + }, |
| 45 | + "action": { |
| 46 | + "html_url": "https://acme.pagerduty.com/rundeck-actions/actions/01CDYN0IRV4VG991K5FR73YNTW", |
| 47 | + "id": "01CDYN0IRV4VG991K5FR73YNTW", |
| 48 | + "self": "https://api.pagerduty.com/automation/actions/01CDYN0IRV4VG991K5FR73YNTW", |
| 49 | + "summary": "A Helpful Action", |
| 50 | + "type": "action_reference" |
| 51 | + }, |
| 52 | + "state": "created", |
| 53 | + "type": "incident_action_invocation" |
| 54 | +} |
| 55 | +``` |
0 commit comments