Skip to main content

integrations

Creates, updates, deletes, gets or lists an integrations resource.

Overview

Nameintegrations
TypeResource
Idpagerduty.event_orchestrations.integrations

Fields

The following fields are returned by SELECT queries:

An Integration for this Event Orchestration.

NameDatatypeDescription
idstringID of the Integration.
labelstringName of the Integration.
parametersobject

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_orchestration_integrationselectid, integration_idAccept, Content-TypeGet an Integration associated with this Event Orchestrations.

You can use the Routing Key from this Integration to send events to PagerDuty!

For more information see the API Concepts Document

Scoped OAuth requires: event_orchestrations.read
list_orchestration_integrationsselectidAccept, Content-TypeList the Integrations associated with this Event Orchestrations.

You can use a Routing Key from these Integrations to send events to PagerDuty!

For more information see the API Concepts Document

Scoped OAuth requires: event_orchestrations.read
delete_orchestration_integrationdeleteid, integration_idAccept, Content-TypeDelete an Integration and its associated Routing Key.

Once deleted, PagerDuty will drop all future events sent to PagerDuty using the Routing Key.

For more information see the API Concepts Document

Scoped OAuth requires: event_orchestrations.write
_list_orchestration_integrationsexecidAccept, Content-TypeList the Integrations associated with this Event Orchestrations.

You can use a Routing Key from these Integrations to send events to PagerDuty!

For more information see the API Concepts Document

Scoped OAuth requires: event_orchestrations.read
post_orchestration_integrationexecid, integrationAccept, Content-TypeCreate an Integration associated with this Event Orchestration.

You can then use the Routing Key from this new Integration to send events to PagerDuty!

For more information see the API Concepts Document

Scoped OAuth requires: event_orchestrations.write
_get_orchestration_integrationexecid, integration_idAccept, Content-TypeGet an Integration associated with this Event Orchestrations.

You can use the Routing Key from this Integration to send events to PagerDuty!

For more information see the API Concepts Document

Scoped OAuth requires: event_orchestrations.read
update_orchestration_integrationexecid, integration_id, integrationAccept, Content-TypeUpdate an Integration associated with this Event Orchestrations.

You can use the Routing Key from this Integration to send events to PagerDuty!

For more information see the API Concepts Document

Scoped OAuth requires: event_orchestrations.write
migrate_orchestration_integrationexecid, source_id, source_type, integration_idAccept, Content-TypeMove an Integration and its Routing Key from the Event Orchestration specified in the request payload, to the Event Orchestration specified in the request URL.

Any future events sent to this Integration's Routing Key will be processed by this Event Orchestration's Rules.

For more information see the API Concepts Document

Scoped OAuth requires: event_orchestrations.write

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.

NameDatatypeDescription
idstringThe ID of an Event Orchestration.
integration_idstringThe ID of an Integration.
AcceptstringThe Accept header is used as a versioning header.
Content-Typestring

SELECT examples

Get an Integration associated with this Event Orchestrations.

You can use the Routing Key from this Integration to send events to PagerDuty!

For more information see the API Concepts Document

Scoped OAuth requires: event_orchestrations.read

SELECT
id,
label,
parameters
FROM pagerduty.event_orchestrations.integrations
WHERE id = '{{ id }}' -- required
AND integration_id = '{{ integration_id }}' -- required
AND Accept = '{{ Accept }}'
AND Content-Type = '{{ Content-Type }}'
;

DELETE examples

Delete an Integration and its associated Routing Key.

Once deleted, PagerDuty will drop all future events sent to PagerDuty using the Routing Key.

For more information see the API Concepts Document

Scoped OAuth requires: event_orchestrations.write

DELETE FROM pagerduty.event_orchestrations.integrations
WHERE id = '{{ id }}' --required
AND integration_id = '{{ integration_id }}' --required
AND Accept = '{{ Accept }}'
AND Content-Type = '{{ Content-Type }}'
;

Lifecycle Methods

List the Integrations associated with this Event Orchestrations.

You can use a Routing Key from these Integrations to send events to PagerDuty!

For more information see the API Concepts Document

Scoped OAuth requires: event_orchestrations.read

EXEC pagerduty.event_orchestrations.integrations._list_orchestration_integrations 
@id='{{ id }}' --required,
@Accept='{{ Accept }}',
@Content-Type='{{ Content-Type }}'
;