Name
eventd-webhook.conf — webhook plugin configuration
Synopsis
Configuration for the webhook plugin.
Description
The webhook plugin allows to send payloads to webhook handlers.
Payloads are sent as a POST request with "application/json"
as Content-Type
.
Global sections
Section [WebHook]
NoUserAgent=
-
A bool
If
true
, no User-Agent header is sent.
Action sections
Section [WebHook]
Disable=
-
A boolean
If
true
, nothing will be sent. URL=
-
A format string of a Web URL
The URL to send the payload to.
Sending is done asynchronously.
Template=
-
A file name, containing a format string
The file name is not a file URI, no data references may be used here.
The whole file content is taken as a format string.
If
Template=
is given,String=
is ignored. String=
-
A format string
The string to send as payload.
ContentType=
(defaults toapplication/json
)-
A string
The Content-Type of the payload.
Method=
-
An enumeration of an HTTP method name:
POST
,PUT
,GET
The HTTP method that will be used to query.
Sending is done asynchronously.
Section [WebHook Headers]
Each key-value pair in this section will be used as-is to populate the request headers.
See Also
- eventd core man pages
-
- eventd(1)
eventd daemon command-line options
- eventdctl(1)
eventdctl (control tool) command-line options
- eventd.conf(5)
-
eventd configuration
Contains information about all the event configuration
Plugins distributed with eventd will use the same scheme: eventd-
plugin-name
for their additional eventd command-line options, eventdctl-plugin-name
for their additional eventdctl command-line options, eventd-plugin-name
.conf for their configuration, - Plugins man pages
exec plugin: eventd-exec.conf(5)
file plugin: eventd-file.conf(5)
nd plugin: eventdctl-nd(1) eventd-nd.conf(5)
im plugin: eventdctl-im(1) eventd-im.conf(5)
sound plugin: eventd-sound.conf(5)
tts plugin: eventd-tts.conf(5)
notify plugin: eventd-notify.conf(5)
canberra plugin: eventd-canberra.conf(5)