Skip to content

Commit a3c781f

Browse files
docs: add {tenant} placeholder in webhook trigger URL description (#12185)
* docs: add {tenant} placeholder in webhook trigger URL description * docs: add missing case to example for tenant placeholder
1 parent 123c006 commit a3c781f

File tree

1 file changed

+2
-2
lines changed
  • core/src/main/java/io/kestra/plugin/core/trigger

1 file changed

+2
-2
lines changed

core/src/main/java/io/kestra/plugin/core/trigger/Webhook.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
description = """
3636
Webhook trigger allows you to create a unique URL that you can use to trigger a Kestra flow execution based on events in another application such as GitHub or Amazon EventBridge. In order to use that URL, you have to add a secret key to secure your webhook URL.
3737
38-
The URL will then follow the following format: `https://{your_hostname}/api/v1/executions/webhook/{namespace}/{flowId}/{key}`. Replace the templated values according to your workflow setup.
38+
The URL will then follow the following format: `https://{your_hostname}/api/v1/{tenant}/executions/webhook/{namespace}/{flowId}/{key}`. Replace the templated values according to your workflow setup.
3939
4040
The webhook URL accepts `GET`, `POST`, and `PUT` requests.
4141
@@ -85,7 +85,7 @@
8585
@Plugin(
8686
examples = {
8787
@Example(
88-
title = "Add a webhook trigger to the current flow with the key `4wjtkzwVGBM9yKnjm3yv8r`; the webhook will be available at the URI `/api/v1/executions/webhook/{namespace}/{flowId}/4wjtkzwVGBM9yKnjm3yv8r`.",
88+
title = "Add a webhook trigger to the current flow with the key `4wjtkzwVGBM9yKnjm3yv8r`; the webhook will be available at the URI `/api/v1/{tenant}/executions/webhook/{namespace}/{flowId}/4wjtkzwVGBM9yKnjm3yv8r`.",
8989
code = """
9090
id: webhook_flow
9191
namespace: company.team

0 commit comments

Comments
 (0)