I am trying to setup a slack notification channel via the API and can do so quite happily like this:
curl -sX POST -H "Accept: application/json" \
-H "Content-Type: application/json" \
-u admin:admin \
-d '
{
"name":"Slack Alerts Channel",
"type":"slack",
"isDefault":false,
"settings": {
"url":"https://hooks.slack.com/services/XXXXXXX/YYYYYYY",
"recipient":"#alerts_channel",
"mention":"@on-call-team"
}
}' http://localhost:4000/api/alert-notifications
But how do I enable the image upload tick? For example, isDefault will enable the “send on all alerts” tickbox, but what is the value to enable “Include image”?