Skip to main content

fields

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

Overview

Namefields
TypeResource
Idpagerduty.templates.fields

Fields

The following fields are returned by SELECT queries:

An array of template fields.

NameDatatypeDescription
domain_nameobject
data_typestringThe kind of data the template field is allowed to contain. (boolean, integer, float, string, datetime, url)
default_valuestringThe default value of the template field.
descriptionstringA short description of the template field.
examplestringAn example value for the template field.
keywordstring
summarystringA short summary of the template field.
typestringThe type of template field. (standard_field, custom_field)

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
listselectGet a list of fields that can be used on the account templates.<br /><br />Scoped OAuth requires: templates.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

SELECT examples

Get a list of fields that can be used on the account templates.<br /><br />Scoped OAuth requires: templates.read<br />

SELECT
domain_name,
data_type,
default_value,
description,
example,
keyword,
summary,
type
FROM pagerduty.templates.fields
;