Add the webex documentation

Signed-off-by: gotjosh <josue.abreu@gmail.com>
This commit is contained in:
gotjosh 2022-12-15 11:19:17 -04:00
parent 5ebe94d325
commit 02660ba09e
No known key found for this signature in database
GPG Key ID: A6E1DDE38FF3C74E

View File

@ -516,6 +516,8 @@ wechat_configs:
[ - <wechat_config>, ... ]
telegram_configs:
[ - <telegram_config>, ... ]
webex_configs:
[ - <webex_config>, ... ]
```
## `<email_config>`
@ -1112,3 +1114,25 @@ API](http://admin.wechat.com/wiki/index.php?title=Customer_Service_Messages).
# The HTTP client's configuration.
[ http_config: <http_config> | default = global.http_config ]
```
## `<webex_config>`
```yaml
# Whether to notify about resolved alerts.
[ send_resolved: <boolean> | default = true ]
# The Webex Teams API URL i.e. https://webexapis.com/v1/messages
# If not specified, default API URL will be used.
[ api_url: <string> | default = global.webex_api_url ]
# Webex bot token
[ bot_token: <string> ]
# ID of the Webex Teams room where to send the messages.
[ room_id: <string> ]
# Message template
[ message: <tmpl_string> default = '{{ template "webex.default.message" .}}' ]
# The HTTP client's configuration. As an alternative, You can use this configuration to supply the bot token as part of the HTTP `Authorization` header.
[ http_config: <http_config> | default = global.http_config ]
```