-
Notifications
You must be signed in to change notification settings - Fork 182
Expand file tree
/
Copy pathWebhookCreate.yaml
More file actions
42 lines (42 loc) · 965 Bytes
/
WebhookCreate.yaml
File metadata and controls
42 lines (42 loc) · 965 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
title: WebhookCreate
required:
- eventTypes
- condition
- requestUrl
type: object
properties:
isAdHoc:
type: [boolean, "null"]
examples: [false]
eventTypes:
type: array
items:
$ref: ./WebhookEventType.yaml
examples:
- [ACTOR.RUN.SUCCEEDED]
condition:
$ref: ./WebhookCondition.yaml
idempotencyKey:
type: [string, "null"]
examples: [fdSJmdP3nfs7sfk3y]
ignoreSslErrors:
type: [boolean, "null"]
examples: [false]
doNotRetry:
type: [boolean, "null"]
examples: [false]
requestUrl:
type: string
examples: ["http://example.com/"]
payloadTemplate:
type: [string, "null"]
examples: ['{\n "userId": {{userId}}...']
headersTemplate:
type: [string, "null"]
examples: ['{\n "Authorization": "Bearer ..."}']
description:
type: [string, "null"]
examples: [this is webhook description]
shouldInterpolateStrings:
type: [boolean, "null"]
examples: [false]