mirror of
https://github.com/adnanh/webhook.git
synced 2026-07-21 09:18:47 +00:00
added response-message
parent
fd5435f42e
commit
d59fe71955
1 changed files with 1 additions and 0 deletions
|
|
@ -6,6 +6,7 @@ Hooks are defined as JSON objects. Please note that in order to be considered va
|
|||
* `id` - specifies the ID of your hook. This value is used to create the HTTP endpoint (http://yourserver:port/hooks/your-hook-id)
|
||||
* `execute-command` - specifies the command that should be executed when the hook is triggered
|
||||
* `command-working-directory` - specifies the working directory that will be used for the script when it's executed
|
||||
* `response-message` - specifies the string that will be returned to the hook initiator
|
||||
* `pass-arguments-to-command` - specifies the list of arguments that will be passed to the command. Check [Referencing request values page](Referencing-Request-Values) to see how to reference the values from the request.
|
||||
* `trigger-rule` - specifies the rule that will be evaluated in order to determine should the hook be triggered. Check [Hook rules page](Hook-Rules) to see the list of valid rules and their usage
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue