diff --git a/providers/pagerduty/index.json b/providers/pagerduty/index.json new file mode 100644 index 0000000..b0af223 --- /dev/null +++ b/providers/pagerduty/index.json @@ -0,0 +1,13 @@ +{ + "label": "PagerDuty", + "configs": { + "latest_version": "latest", + "topic_identifier": "event.event_type" + }, + "provenance": { + "latest": { + "sourced_via": "docs", + "sourced_on": "2026-10-02" + } + } +} diff --git a/providers/pagerduty/latest/incident.priority_updated.json b/providers/pagerduty/latest/incident.priority_updated.json new file mode 100644 index 0000000..4ec50e4 --- /dev/null +++ b/providers/pagerduty/latest/incident.priority_updated.json @@ -0,0 +1,86 @@ +{ + "headers": { + "content-type": "application/json" + }, + "body": { + "event": { + "id": "5ac64822-4adc-4fda-ade0-410becf0de4f", + "event_type": "incident.priority_updated", + "resource_type": "incident", + "occurred_at": "2020-10-02T18:45:22.169Z", + "agent": { + "html_url": "https://acme.pagerduty.com/users/PLH1HKV", + "id": "PLH1HKV", + "self": "https://api.pagerduty.com/users/PLH1HKV", + "summary": "Tenex Engineer", + "type": "user_reference" + }, + "client": { + "name": "PagerDuty" + }, + "data": { + "id": "PGR0VU2", + "type": "incident", + "self": "https://api.pagerduty.com/incidents/PGR0VU2", + "html_url": "https://acme.pagerduty.com/incidents/PGR0VU2", + "number": 2, + "status": "triggered", + "incident_key": "d3640fbd41094207a1c11e58e46b1662", + "created_at": "2020-04-09T15:16:27Z", + "reopened_at": "2020-10-02T18:45:22Z", + "title": "A little bump in the road", + "service": { + "html_url": "https://acme.pagerduty.com/services/PF9KMXH", + "id": "PF9KMXH", + "self": "https://api.pagerduty.com/services/PF9KMXH", + "summary": "API Service", + "type": "service_reference" + }, + "assignees": [ + { + "html_url": "https://acme.pagerduty.com/users/PTUXL6G", + "id": "PTUXL6G", + "self": "https://api.pagerduty.com/users/PTUXL6G", + "summary": "User 123", + "type": "user_reference" + } + ], + "escalation_policy": { + "html_url": "https://acme.pagerduty.com/escalation_policies/PUS0KTE", + "id": "PUS0KTE", + "self": "https://api.pagerduty.com/escalation_policies/PUS0KTE", + "summary": "Default", + "type": "escalation_policy_reference" + }, + "teams": [ + { + "html_url": "https://acme.pagerduty.com/teams/PFCVPS0", + "id": "PFCVPS0", + "self": "https://api.pagerduty.com/teams/PFCVPS0", + "summary": "Engineering", + "type": "team_reference" + } + ], + "priority": { + "html_url": "https://acme.pagerduty.com/account/incident_priorities", + "id": "PSO75BM", + "self": "https://api.pagerduty.com/priorities/PSO75BM", + "summary": "P1", + "type": "priority_reference" + }, + "urgency": "high", + "conference_bridge": { + "conference_number": "+1 1234123412,,987654321#", + "conference_url": "https://example.com" + }, + "resolve_reason": null + } + } + }, + "topic": "incident.priority_updated", + "source": { + "type": "vendor-documentation", + "url": "https://docs.pagerduty.com/developer/webhooks-overview", + "retrieved": "2026-10-02" + } +} diff --git a/providers/pagerduty/latest/service.updated.json b/providers/pagerduty/latest/service.updated.json new file mode 100644 index 0000000..2e38954 --- /dev/null +++ b/providers/pagerduty/latest/service.updated.json @@ -0,0 +1,38 @@ +{ + "headers": { + "content-type": "application/json" + }, + "body": { + "event": { + "id": "01BRB6ZP4M6T8ZG4X6BP63ZB9O", + "event_type": "service.updated", + "resource_type": "service", + "occurred_at": "2021-03-02T13:35:11.682Z", + "agent": null, + "client": null, + "data": { + "html_url": "https://acme.pagerduty.com/services/PF9KMXH", + "id": "PF9KMXH", + "self": "https://api.pagerduty.com/services/PF9KMXH", + "summary": "testing service updates", + "alert_creation": "create_alerts_and_incidents", + "teams": [ + { + "html_url": "https://acme.pagerduty.com/teams/PFCVPS0", + "id": "PFCVPS0", + "self": "https://api.pagerduty.com/teams/PFCVPS0", + "summary": "Engineering", + "type": "team_reference" + } + ], + "type": "service" + } + } + }, + "topic": "service.updated", + "source": { + "type": "vendor-documentation", + "url": "https://docs.pagerduty.com/developer/webhooks-overview", + "retrieved": "2026-10-02" + } +}