mirror of
https://github.com/louislam/uptime-kuma.git
synced 2025-08-22 03:30:11 +08:00
chore:Webhook custom documentation (#3636)
* improved the documentation * fixed the `customBodyPlaceholder` not being translated * fixed required not being set where necessary * changed the docs that `monitorJSON` is also avalibale for cert-expiry
This commit is contained in:
@@ -213,7 +213,12 @@
|
||||
"Content Type": "Content Type",
|
||||
"webhookJsonDesc": "{0} is good for any modern HTTP servers such as Express.js",
|
||||
"webhookFormDataDesc": "{multipart} is good for PHP. The JSON will need to be parsed with {decodeFunction}",
|
||||
"webhookCustomBodyDesc": "Define a custom HTTP Body for the request. Template variables {msg}, {heartbeat}, {monitor} are accepted.",
|
||||
"liquidIntroduction": "Templatability is achieved via the Liquid templating language. Please refer to the {0} for usage instructions. These are the available variables:",
|
||||
"templateMsg": "message of the notification",
|
||||
"templateHeartbeatJSON": "object describing the heartbeat",
|
||||
"templateMonitorJSON": "object describing the monitor",
|
||||
"templateLimitedToUpDownCertNotifications": "only available for UP/DOWN/Certificate expiry notifications",
|
||||
"templateLimitedToUpDownNotifications": "only available for UP/DOWN notifications",
|
||||
"webhookAdditionalHeadersTitle": "Additional Headers",
|
||||
"webhookAdditionalHeadersDesc": "Sets additional headers sent with the webhook. Each header should be defined as a JSON key/value.",
|
||||
"webhookBodyPresetOption": "Preset - {0}",
|
||||
|
Reference in New Issue
Block a user