Skip to content

WebhookActionModel

Field Type Required Description and constraints
type "webhook" Yes
id string Yes minimum length 1. maximum length 128. pattern ^[A-Za-z0-9][A-Za-z0-9._:-]*$
url string (uri) Yes minimum length 1. maximum length 2083
credentialRef string or null No
includeArtifact boolean No default true

Additional properties are rejected by this schema.

{
"properties": {
"type": {
"type": "string",
"const": "webhook",
"title": "Type"
},
"id": {
"type": "string",
"maxLength": 128,
"minLength": 1,
"pattern": "^[A-Za-z0-9][A-Za-z0-9._:-]*$",
"title": "Id"
},
"url": {
"type": "string",
"maxLength": 2083,
"minLength": 1,
"format": "uri",
"title": "Url"
},
"credentialRef": {
"anyOf": [
{
"type": "string",
"maxLength": 128,
"minLength": 1,
"pattern": "^[A-Za-z0-9][A-Za-z0-9._-]*$"
},
{
"type": "null"
}
],
"title": "Credentialref"
},
"includeArtifact": {
"type": "boolean",
"title": "Includeartifact",
"default": true
}
},
"additionalProperties": false,
"type": "object",
"required": [
"type",
"id",
"url"
],
"title": "WebhookActionModel"
}
Image preview