Skip to content

Commit 4f019b5

Browse files
authored
Add Incident type to events and example. Plus a few other incident event fixes (#104)
1 parent 5c88a80 commit 4f019b5

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

docs/webhooks/01-Overview.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -219,14 +219,16 @@ Outbound events are created when PagerDuty resources change in interesting ways.
219219
| Event Type | `data.type` | Description | Scoped OAuth requires |
220220
| ------------------------------------ | ---------------------------- | ----------------------------------------------------------------------------------------- | ------------------------- |
221221
| incident.acknowledged | `incident` | Sent when an incident is acknowledged. | `incidents.read` |
222-
| incident.annotated | `incident` | Sent when a note is added to an incident. | `incidents.read` |
222+
| incident.annotated | `incident_note` | Sent when a note is added to an incident. | `incidents.read` |
223223
| incident.conference_bridge.updated | `incident_conference_bridge` | Sent when an incident's conference bridge number and/or conference bridge url is updated. | `incidents.read` |
224224
| incident.custom_field_values.updated | `incident_field_values` | Sent when an incident's custom fields values are updated. | `incidents.read` |
225225
| incident.delegated | `incident` | Sent when an incident has been reassigned to another escalation policy. | `incidents.read` |
226226
| incident.escalated | `incident` | Sent when an incident has been escalated to another user in the same escalation level. | `incidents.read` |
227+
| incident.incident_type.changed | `incident` | Sent when an incident has changed it’s incident type. | `incidents.read` |
227228
| incident.priority_updated | `incident` | Sent when the priority of an incident has changed. | `incidents.read` |
228229
| incident.reassigned | `incident` | Sent when an incident has been reassigned to another user. | `incidents.read` |
229230
| incident.reopened | `incident` | Sent when an incident is reopened. | `incidents.read` |
231+
| incident.resolved | `incident` | Sent when an incident is resolved. | `incidents.read` |
230232
| incident.responder.added | `incident_responder` | Sent when a responder has been added to an incident. | `incidents.read` |
231233
| incident.responder.replied | `incident_responder` | Sent when a responder replies to a request. | `incidents.read` |
232234
| incident.status_update_published | `incident_status_update` | Sent when a status update is added to an incident. | `incidents.read` |
@@ -255,6 +257,9 @@ Depending on the `event.event_type`, of the webhook payload, the `event.data` fi
255257
"incident_key": "d3640fbd41094207a1c11e58e46b1662",
256258
"created_at": "2020-04-09T15:16:27Z",
257259
"title": "A little bump in the road",
260+
"incident_type": {
261+
"name": "major"
262+
},
258263
"service": {
259264
"html_url": "https://acme.pagerduty.com/services/PF9KMXH",
260265
"id": "PF9KMXH",

0 commit comments

Comments
 (0)