outlier_incidents
Creates, updates, deletes, gets or lists an outlier_incidents resource.
Overview
| Name | outlier_incidents |
| Type | Resource |
| Id | pagerduty.incidents.outlier_incidents |
Fields
The following fields are returned by SELECT queries:
- get
Outlier Incident information calculated over the same Service as the given Incident.
| Name | Datatype | Description |
|---|---|---|
incident | object | |
incident_template | object |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get | select | id | since, additional_details[] | Gets Outlier Incident information for a given Incident on its Service.<br /><br />For more information see the [API Concepts Document](https://developer.pagerduty.com/api-reference/a47605517c19a-api-concepts#outlier-incident)<br /><br />Scoped OAuth requires: incidents.read<br /> |
Parameters
Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.
| Name | Datatype | Description |
|---|---|---|
id | string | The ID of the resource. |
additional_details[] | string | Array of additional attributes to any of the returned incidents for related incidents. |
since | string (date-time) | The start of the date range over which you want to search. |
SELECT examples
- get
Gets Outlier Incident information for a given Incident on its Service.<br /><br />For more information see the [API Concepts Document](https://developer.pagerduty.com/api-reference/a47605517c19a-api-concepts#outlier-incident)<br /><br />Scoped OAuth requires: incidents.read<br />
SELECT
incident,
incident_template
FROM pagerduty.incidents.outlier_incidents
WHERE id = '{{ id }}' -- required
AND since = '{{ since }}'
AND additional_details[] = '{{ additional_details[] }}'
;