2024-04-21 12:02:19 +02:00
|
|
|
---
|
2024-04-19 14:41:05 +02:00
|
|
|
# Kestra Webhook Template
|
|
|
|
# ---
|
2024-04-21 11:59:31 +02:00
|
|
|
#
|
2024-04-19 14:41:05 +02:00
|
|
|
# This template is a simple webhook trigger that can be used to trigger a task execution.
|
2024-04-21 11:59:31 +02:00
|
|
|
#
|
2024-04-19 14:41:05 +02:00
|
|
|
# usage:
|
|
|
|
# curl http://your-kestra-instance/api/v1/executions/webhook/your-namespace/your-task-id/your-secret-key
|
|
|
|
|
|
|
|
id: webhook
|
2024-04-21 12:06:15 +02:00
|
|
|
namespace: # your-namespace
|
2024-04-19 14:41:05 +02:00
|
|
|
|
|
|
|
tasks:
|
2024-04-21 12:07:47 +02:00
|
|
|
# - your-tasks
|
2024-04-19 14:41:05 +02:00
|
|
|
|
|
|
|
triggers:
|
|
|
|
- id: webhook
|
|
|
|
type: io.kestra.core.models.triggers.types.Webhook
|
2024-04-21 12:06:15 +02:00
|
|
|
key: # your-secret-key, keep this secret!
|