Create, list and delete incident attachments.
Incident Attachments allows you to connect resources from external systems into incidents. Examples include: PagerDuty incidents and GitHub pull requests.
List all incident attachements for a given external resource or incident. You must provide either a specific incident ID or a specific external resource type and external ID.
OK response.
{- "incident_attachments": [
- {
- "id": "01FCNDV6P870EA6S7TK1DSYD5H",
- "incident_id": "01FCNDV6P870EA6S7TK1DSYD5H",
- "resource": {
- "external_id": "123",
- "resource_type": "pager_duty_incident",
- "title": "The database has gone down"
}
}
]
}
Attaches an external resource to an incident
Created response.
{- "incident_id": "01FDAG4SAP5TYPT98WGR2N7W91",
- "resource": {
- "external_id": "123",
- "resource_type": "pager_duty_incident"
}
}
{- "incident_attachment": {
- "id": "01FCNDV6P870EA6S7TK1DSYD5H",
- "incident_id": "01FCNDV6P870EA6S7TK1DSYD5H",
- "resource": {
- "external_id": "123",
- "resource_type": "pager_duty_incident",
- "title": "The database has gone down"
}
}
}