We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I think we're missing severity in the create_json object defined by . type Event struct...
severity
create_json
type Event struct
https://github.com/PagerDuty/go-pagerduty/blob/master/event.go#L13
The text was updated successfully, but these errors were encountered:
Severity is a v2 API parameter. https://v2.developer.pagerduty.com/docs/send-an-event-events-api-v2
v1 events: https://v2.developer.pagerduty.com/docs/trigger-events
Per: https://github.com/PagerDuty/go-pagerduty/blob/master/event.go#L10 this library is referencing the v1 api.
Sorry, something went wrong.
@k1ng87 I did spike out something a while back to deal with this, FYI. https://github.com/WTW-IM/prtg-pagerduty/blob/master/event/event.go
See #83
Closing old issue. This appears to be addressed. Please reopen or post another issue if there needs to be more discussion.
No branches or pull requests
I think we're missing
severity
in thecreate_json
object defined by .type Event struct
...https://github.com/PagerDuty/go-pagerduty/blob/master/event.go#L13
The text was updated successfully, but these errors were encountered: