Skip to main content

severities

Creates, updates, deletes, gets or lists a severities resource.

Overview

Nameseverities
TypeResource
Idpagerduty.status_pages.severities

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
idstringAn unique identifier within Status Page scope that defines a Severity entry.
descriptionstringThe description is a human-readable text that describes the Severity level.
post_typestringThe type of the Post. (incident, maintenance)
selfstringThe API resource URL of the Severity.
status_pageobjectStatus Page
typestringThe type of the object returned by the API - in this case, a Status Page Severity.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectid, severity_idGet a Severity for a Status Page by Status Page ID and Severity ID.<br /><br />Scoped OAuth requires: status_pages.read<br />
listselectidpost_typeList Severities for a Status Page by Status Page ID.<br /><br />Scoped OAuth requires: status_pages.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.

NameDatatypeDescription
idstringThe ID of the resource.
severity_idstringThe ID of the Status Page severity.
post_typestringFilter by Post type.

SELECT examples

Get a Severity for a Status Page by Status Page ID and Severity ID.<br /><br />Scoped OAuth requires: status_pages.read<br />

SELECT
id,
description,
post_type,
self,
status_page,
type
FROM pagerduty.status_pages.severities
WHERE id = '{{ id }}' -- required
AND severity_id = '{{ severity_id }}' -- required
;