templates
Overview
Name | templates |
Type | Resource |
Id | pagerduty.templates.templates |
Fields
Name | Datatype | Description |
---|---|---|
id | string | |
name | string | The name of the template |
description | string | Description of the template |
created_by | `` | User/Account object reference of the creator |
html_url | string | a URL at which the entity is uniquely displayed in the Web app |
self | string | the API show URL at which the object is accessible |
summary | string | A short-form, server-generated string that provides succinct, important information about an object suitable for primary labeling of an entity in a client. In many cases, this will be identical to name , though it is not intended to be an identifier. |
template_type | string | The type of template (status_update is the only supported template at this time) |
templated_fields | object | |
type | string | |
updated_by | `` | User/Account object reference of the updator |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get_template | SELECT | id | Get a single template on the account Scoped OAuth requires: templates.read |
get_templates | SELECT | Get a list of all the template on an account Scoped OAuth requires: templates.read | |
create_template | INSERT | data__template | Create a new template Scoped OAuth requires: templates.write |
delete_template | DELETE | id | Delete a specific of templates on the account Scoped OAuth requires: templates.write |
_get_template | EXEC | id | Get a single template on the account Scoped OAuth requires: templates.read |
_get_templates | EXEC | Get a list of all the template on an account Scoped OAuth requires: templates.read | |
render_template | EXEC | id | Render a template. This endpoint has a variable request body depending on the template type. For the status_update template type, the caller will provide the incident id, and a status update message.Scoped OAuth requires: templates.read |
update_template | EXEC | id, data__template | Update an existing template Scoped OAuth requires: templates.write |