You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/Hook-Definition.md
+1
Original file line number
Diff line number
Diff line change
@@ -13,6 +13,7 @@ Hooks are defined as JSON objects. Please note that in order to be considered va
13
13
*`http-methods` - a list of allowed HTTP methods, such as `POST` and `GET`
14
14
*`include-command-output-in-response` - boolean whether webhook should wait for the command to finish and return the raw output as a response to the hook initiator. If the command fails to execute or encounters any errors while executing the response will result in 500 Internal Server Error HTTP status code, otherwise the 200 OK status code will be returned.
15
15
*`include-command-output-in-response-on-error` - boolean whether webhook should include command stdout & stderror as a response in failed executions. It only works if `include-command-output-in-response` is set to `true`.
16
+
*`stream-command-output` - boolean whether webhook should stream command stdout & stderror as a response. If true `include-command-output-in-response` is ignored.
16
17
*`parse-parameters-as-json` - specifies the list of arguments that contain JSON strings. These parameters will be decoded by webhook and you can access them like regular objects in rules and `pass-arguments-to-command`.
17
18
*`pass-arguments-to-command` - specifies the list of arguments that will be passed to the command. Check [Referencing request values page](Referencing-Request-Values.md) to see how to reference the values from the request. If you want to pass a static string value to your command you can specify it as
0 commit comments