Skip to content

WebhookExecutor

Fabian Freyer edited this page Jan 6, 2019 · 2 revisions

Calls a webhook on execution.

Interface

Takes an argument containing the URL of the webhook. HTTP response codes of 200 shall be considered successful, HTTP response codes of 400-499 or 500-599 shall be considered failed. Redirects (HTTP response codes 300-399) shall be followed.

Receives a representation of the jail in the request body and may return an updated representation of the jail in the response body.

Available hooks

The webhook executor shall support all hooks.

Promotion

On promotion, shall yield an executor that calls a webhook, joining the given parameter to the URL of the base executor.

Security

This executors shall not be able to execute any code and should therefore be marked safe. Any promoted executors should also marked safe.

Clone this wiki locally