We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents a9778e0 + 4d1f3c1 commit 8722639Copy full SHA for 8722639
event_v2.go
@@ -34,9 +34,10 @@ type V2Payload struct {
34
35
// Response is the json response body for an event
36
type V2EventResponse struct {
37
- RoutingKey string `json:"routing_key"`
38
- DedupKey string `json:"dedup_key"`
39
- EventAction string `json:"event_action"`
+ Status string `json:"status,omitempty"`
+ DedupKey string `json:"dedup_key,omitempty"`
+ Message string `json:"message,omitempty"`
40
+ Errors []string `json:"errors,omitempty"`
41
}
42
43
const v2eventEndPoint = "https://events.pagerduty.com/v2/enqueue"
0 commit comments