Skip to main content

addons

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

Overview

Nameaddons
TypeResource
Idpagerduty.add_ons.addons

Fields

The following fields are returned by SELECT queries:

The requested Add-on.

NameDatatypeDescription
idstring
namestringThe name of the Add-on.
html_urlstring (url)a URL at which the entity is uniquely displayed in the Web app
selfstring (url)the API show URL at which the object is accessible
srcstring (url)The source URL to display in a frame in the PagerDuty UI. HTTPS is required.
summarystringA short-form, server-generated string that provides succinct, important information about an object suitable for primary labeling of an entity in a client. In many cases, this will be identical to name, though it is not intended to be an identifier.
typestringThe type of Add-on.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_addonselectidAccept, Content-TypeGet details about an existing Add-on.

Addon's are pieces of functionality that developers can write to insert new functionality into PagerDuty's UI.

For more information see the API Concepts Document

Scoped OAuth requires: addons.read
list_addonselectlimit, offset, total, Accept, Content-Type, include[], service_ids[], filterList all of the Add-ons installed on your account.

Addon's are pieces of functionality that developers can write to insert new functionality into PagerDuty's UI.

For more information see the API Concepts Document

Scoped OAuth requires: addons.read
create_addoninsertdata__addonAccept, Content-TypeInstall an Add-on for your account.

Addon's are pieces of functionality that developers can write to insert new functionality into PagerDuty's UI.

Given a configuration containing a src parameter, that URL will be embedded in an iframe on a page that's available to users from a drop-down menu.

For more information see the API Concepts Document

Scoped OAuth requires: addons.write
delete_addondeleteidAccept, Content-TypeRemove an existing Add-on.

Addon's are pieces of functionality that developers can write to insert new functionality into PagerDuty's UI.

For more information see the API Concepts Document

Scoped OAuth requires: addons.write
_list_addonexeclimit, offset, total, Accept, Content-Type, include[], service_ids[], filterList all of the Add-ons installed on your account.

Addon's are pieces of functionality that developers can write to insert new functionality into PagerDuty's UI.

For more information see the API Concepts Document

Scoped OAuth requires: addons.read
_get_addonexecidAccept, Content-TypeGet details about an existing Add-on.

Addon's are pieces of functionality that developers can write to insert new functionality into PagerDuty's UI.

For more information see the API Concepts Document

Scoped OAuth requires: addons.read
update_addonexecid, addonAccept, Content-TypeUpdate an existing Add-on.

Addon's are pieces of functionality that developers can write to insert new functionality into PagerDuty's UI.

Given a configuration containing a src parameter, that URL will be embedded in an iframe on a page that's available to users from a drop-down menu.

For more information see the API Concepts Document

Scoped OAuth requires: addons.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 the resource.
AcceptstringThe Accept header is used as a versioning header.
Content-Typestring
filterstringFilters the results, showing only Add-ons of the given type
include[]stringArray of additional Models to include in response.
limitintegerThe number of results per page.
offsetintegerOffset to start pagination search results.
service_ids[]arrayFilters the results, showing only Add-ons for the given services
totalbooleanBy default the total field in pagination responses is set to null to provide the fastest possible response times. Set total to true for this field to be populated. See our Pagination Docs for more information.

SELECT examples

Get details about an existing Add-on.

Addon's are pieces of functionality that developers can write to insert new functionality into PagerDuty's UI.

For more information see the API Concepts Document

Scoped OAuth requires: addons.read

SELECT
id,
name,
html_url,
self,
src,
summary,
type
FROM pagerduty.add_ons.addons
WHERE id = '{{ id }}' -- required
AND Accept = '{{ Accept }}'
AND Content-Type = '{{ Content-Type }}'
;

INSERT examples

Install an Add-on for your account.

Addon's are pieces of functionality that developers can write to insert new functionality into PagerDuty's UI.

Given a configuration containing a src parameter, that URL will be embedded in an iframe on a page that's available to users from a drop-down menu.

For more information see the API Concepts Document

Scoped OAuth requires: addons.write

INSERT INTO pagerduty.add_ons.addons (
data__addon,
Accept,
Content-Type
)
SELECT
'{{ addon }}' /* required */,
'{{ Accept }}',
'{{ Content-Type }}'
RETURNING
addon
;

DELETE examples

Remove an existing Add-on.

Addon's are pieces of functionality that developers can write to insert new functionality into PagerDuty's UI.

For more information see the API Concepts Document

Scoped OAuth requires: addons.write

DELETE FROM pagerduty.add_ons.addons
WHERE id = '{{ id }}' --required
AND Accept = '{{ Accept }}'
AND Content-Type = '{{ Content-Type }}'
;

Lifecycle Methods

List all of the Add-ons installed on your account.

Addon's are pieces of functionality that developers can write to insert new functionality into PagerDuty's UI.

For more information see the API Concepts Document

Scoped OAuth requires: addons.read

EXEC pagerduty.add_ons.addons._list_addon 
@limit='{{ limit }}',
@offset='{{ offset }}',
@total={{ total }},
@Accept='{{ Accept }}',
@Content-Type='{{ Content-Type }}',
@include[]='{{ include[] }}',
@service_ids[]='{{ service_ids[] }}',
@filter='{{ filter }}'
;