PagerDuty / pdpyras

Low-level PagerDuty REST/Events API client for Python
MIT License
129 stars 29 forks source link

Add class for change events #56

Closed hunner closed 3 years ago

hunner commented 3 years ago

The new change events api only has a single kind of endpoint, to submit change events. They are associated with a given service by the routing key.

https://developer.pagerduty.com/docs/events-api-v2/send-change-events/

Also includes a small tweak to the error messaging to more easily clarify API error responses.