I am trying to create a new incident using the v2 API (see this url: https://v2.developer.pagerduty.com/v2/page/api-reference#!/Incidents/post_incidents). From everything I see by looking at the API reference, you need the following:
- API key
- Service ID
- Email address
Then you need info about the incident itself (simple enough):
I am trying to resolve the difference between this and what I see on things like the Jenkins plugin for PagerDuty, which takes the following:
- Service Integration Key
- Incident Description
Is this plugin using the v1 version of the plugin? (https://v1.developer.pagerduty.com/documentation/events/trigger)
How does the Service Integration Key relate to the the Service ID?
Why is it that you can create an incident with a Service ID using v2 but you need to use an Integration Key for v1?
The reason I ask is I would much prefer to have just a single ID needed (integration key) but I would prefer to use the v2 API.