INPUT_OBJECT

UpdateEventActionTemplate

link GraphQL Schema definition

1input UpdateEventActionTemplate {
4
2# The id of the trigger template
3id: ID!
7
5# The name of template. e.g. "Run engine X for every new mention in a watchlist".
6name: String
12
8# based on the input_type, input_validation describes additional validations. For
9# example, if input_type is "event", input_validation could be a list of allowed
10# events.
11inputValidation: JSONData
17
13# A JSON structure that is compatible/specific to the input_type. For example, if
14# input type is "event", then input_attributes simply contain the entire event
15# payload.
16inputAttributes: JSONData
22
18# Allows you to specify validation for the action_type. For example, if
19# action_type is "job", perhaps only whitelist a list of engines that could be
20# called.
21actionValidation: JSONData
26
23# dedicated column to specify where/what the action is taking place. For example,
24# if action is a job, then destination is an engine_id. For webhook, a uri.
25actionDestination: String
32
27# A JSON structure that is compatible with action_type. For example, if
28# action_type is "webhook", action_attributes contain the mustache compatible
29# template to format the content. If action_type is "job", then action_attributes
30# need to specify a job template.
31actionAttributes: JSONData
33}