PagerDuty / pdpyras

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

EventsAPISession uses `X-Routing-Key` instead of setting `routing_key` in payload #53

Closed markafarrell closed 3 years ago

markafarrell commented 3 years ago

EventsAPISession uses the X-Routing-Key header to specify the routing key and does not set the routing_key parameter in the REST Payload.

API specification requires that the routing_key parameter is a required parameter.

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