latestSwagger 2.02026-08-102194011.3 MB
602fc25ddd76
Incident Attachments V1
List Incident Attachments V1
List all incident attachments for a given external resource or incident. You must provide either a specific incident ID or a specific external resource type and external ID.
get/v1/incident_attachments
Query parameters
incident_idstring
Incident that this attachment is against
external_idstring
ID of the resource in the external system
resource_type'pager_duty_incident' | 'opsgenie_alert' | 'datadog_monitor_alert' | 'github_pull_request' | 'gitlab_merge_request' | 'sentry_issue' | 'jira_issue' | 'atlassian_statuspage_incident' | 'zendesk_ticket' | 'google_calendar_event' | 'outlook_calendar_event' | 'scrubbed' | 'statuspage_incident'
E.g. PagerDuty: the external system that holds the resource
Response
OK response.
Example response
{
"incident_attachments": [
{
"id": "01FCNDV6P870EA6S7TK1DSYD5H",
"incident_id": "01FCNDV6P870EA6S7TK1DSYD5H",
"resource": {
"external_id": "123",
"permalink": "https://my.pagerduty.com/incidents/ABC",
"resource_type": "pager_duty_incident",
"title": "The database has gone down"
}
}
]
}