Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,9 @@ properties:
condition:
$ref: ../webhooks/WebhookCondition.yaml
requestUrl:
type: string
type: [string, "null"]
format: uri
description: URL of the HTTP request sent by the webhook. It is `null` for hook actions other than the conventional HTTP case (e.g. Slack or email notifications).
examples: ["https://example.com/webhook"]
isAdHoc:
type: boolean
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ required:
- eventTypes
- condition
- ignoreSslErrors
- requestUrl
type: object
properties:
id:
Expand Down Expand Up @@ -47,6 +46,7 @@ properties:
requestUrl:
type: [string, "null"]
format: uri
description: URL of the HTTP request sent by the webhook. It is omitted or `null` for hook actions other than the conventional HTTP case (e.g. Slack or email notifications).
examples: ["http://example.com/"]
payloadTemplate:
type: [string, "null"]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -141,12 +141,16 @@ post:
$ref: ../../components/responses/BadRequest.yaml
"401":
$ref: ../../components/responses/Unauthorized.yaml
"402":
$ref: ../../components/responses/PaymentRequired.yaml
"403":
$ref: ../../components/responses/Forbidden.yaml
"404":
$ref: ../../components/responses/NotFound.yaml
"405":
$ref: ../../components/responses/MethodNotAllowed.yaml
"408":
$ref: ../../components/responses/Timeout.yaml
"413":
$ref: ../../components/responses/PayloadTooLarge.yaml
"415":
Expand Down
Loading