Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add class for change events #56

Merged
merged 2 commits into from May 4, 2021
Merged

Conversation

hunner
Copy link
Contributor

@hunner hunner commented Mar 26, 2021

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.

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.
Copy link
Collaborator

@Deconstrained Deconstrained left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@hunner This is great; thank you for contributing!

The only change I would make is moving event_timestamp into ChangeEventsAPISession as it is only used in that class.

@Deconstrained Deconstrained merged commit 59de861 into PagerDuty:main May 4, 2021
@hunner hunner deleted the add-change-event branch May 4, 2021 21:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants