Configuration
Notifiers
DingTalk

DingTalk (钉钉)

Since: 1.5.0

DingTalk (opens in a new tab) is a team communication tool.

We can send DingTalk message by use Webhook API (opens in a new tab), you can follow the DingTalk Webhook Guide (opens in a new tab) to get the webhook url.

The DingTalk webhook URL like this:

https://oapi.dingtalk.com/robot/send?access_token=XXXXXX

Config keys

  • type: dingtalk
  • url: DingTalk webhook URL
  • on_success: Send message when backup success, default is true

Example

models:
  my_app:
    storages:
      local:
        type: local
        keep: 10
    notifiers:
      dingtalk:
        type: dingtalk
        url: https://oapi.dingtalk.com/robot/send?access_token=102f9b03e717078acf830a692e78a07092aca8b6a7fc3f5c2c048baf25de1370r
        on_success: false