Skip to main content

scores

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

Overview

Namescores
TypeResource
Idpagerduty.standards.scores

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
resource_idstring
resource_typestring (technical_service)
scoreobject
standardsarray

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectid, resource_typeList standards applied to a specific resource<br /><br />Scoped OAuth requires: standards.read<br />
listselectids, resource_typeList standards applied to a set of resources<br /><br />Scoped OAuth requires: standards.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
idstringId of the resource to apply the standards.
idsarrayIds of resources to apply the standards. Maximum of 100 items
resource_typestring

SELECT examples

List standards applied to a specific resource<br /><br />Scoped OAuth requires: standards.read<br />

SELECT
resource_id,
resource_type,
score,
standards
FROM pagerduty.standards.scores
WHERE id = '{{ id }}' -- required
AND resource_type = '{{ resource_type }}' -- required
;