PagerDuty / go-pagerduty

go client library for PagerDuty v2 API
https://v2.developer.pagerduty.com/docs/rest-api
Apache License 2.0
287 stars 240 forks source link

Add raw incidents metrics #481

Closed MaggotMouth closed 7 months ago

MaggotMouth commented 1 year ago

Implement endpoints for single and multiple raw incident metrics

https://developer.pagerduty.com/api-reference/b3A6Mjc0ODExMw-get-raw-data-single-incident

https://developer.pagerduty.com/api-reference/c2d493e995071-get-raw-data-multiple-incidents

This was previously done in PRs #347 and #422 which have gone stale.

krav commented 7 months ago

@ChuckCrawford @theckman Hi! Can we get this reviewed? Been looking to use this endpoint. Thanks!

MaggotMouth commented 7 months ago

Thanks for the review @ChuckCrawford - I've made the changes as requested and updated the associated tests.