outlier_incident
Creates, updates, deletes, gets or lists an outlier_incident
resource.
Overview
Name | outlier_incident |
Type | Resource |
Id | pagerduty.incidents.outlier_incident |
Fields
The following fields are returned by SELECT
queries:
- get_outlier_incident
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_outlier_incident | select | id | Accept , Content-Type , since , additional_details[] | Gets Outlier Incident information for a given Incident on its Service. For more information see the API Concepts Document Scoped OAuth requires: incidents.read |
_get_outlier_incident | exec | id | Accept , Content-Type , since , additional_details[] | Gets Outlier Incident information for a given Incident on its Service. For more information see the API Concepts Document Scoped OAuth requires: incidents.read |
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. |
Accept | string | The Accept header is used as a versioning header. |
Content-Type | string | |
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_outlier_incident
Gets Outlier Incident information for a given Incident on its Service.
For more information see the API Concepts Document
Scoped OAuth requires: incidents.read
SELECT
incident,
incident_template
FROM pagerduty.incidents.outlier_incident
WHERE id = '{{ id }}' -- required
AND Accept = '{{ Accept }}'
AND Content-Type = '{{ Content-Type }}'
AND since = '{{ since }}'
AND additional_details[] = '{{ additional_details[] }}'
;
Lifecycle Methods
- _get_outlier_incident
Gets Outlier Incident information for a given Incident on its Service.
For more information see the API Concepts Document
Scoped OAuth requires: incidents.read
EXEC pagerduty.incidents.outlier_incident._get_outlier_incident
@id='{{ id }}' --required,
@Accept='{{ Accept }}',
@Content-Type='{{ Content-Type }}',
@since='{{ since }}',
@additional_details[]='{{ additional_details[] }}'
;