Skip to main content

statuses

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

Overview

Namestatuses
TypeResource
Idpagerduty.status_pages.statuses

Fields

The following fields are returned by SELECT queries:

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

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectid, status_idGet a Status for a Status Page by Status Page ID and Status ID.<br /><br />Scoped OAuth requires: status_pages.read<br />
listselectidpost_typeList Statuses 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.
status_idstringThe ID of the Status Page status.
post_typestringFilter by Post type.

SELECT examples

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

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