fields
Creates, updates, deletes, gets or lists a fields resource.
Overview
| Name | fields |
| Type | Resource |
| Id | pagerduty.templates.fields |
Fields
The following fields are returned by SELECT queries:
- list
An array of template fields.
| Name | Datatype | Description |
|---|---|---|
domain_name | object | |
data_type | string | The kind of data the template field is allowed to contain. (boolean, integer, float, string, datetime, url) |
default_value | string | The default value of the template field. |
description | string | A short description of the template field. |
example | string | An example value for the template field. |
keyword | string | |
summary | string | A short summary of the template field. |
type | string | The type of template field. (standard_field, custom_field) |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
list | select | Get 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.
| Name | Datatype | Description |
|---|
SELECT examples
- list
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
;