OttoFMS Settings
Update Offsite Notification Settings
Request Body
application/json
POST /otto/api/settings/offsite/notifications Request body
sendSuccessNotifications?boolean
Default
truetype*string
channelUrl*string
Format
urilabel?string
Response Body
application/json
application/json
curl -X POST "https://your.server.net/otto/api/settings/offsite/notifications" \ -H "Content-Type: application/json" \ -d '{ "type": "slack", "channelUrl": "http://example.com" }'{
"response": {},
"messages": [
{
"code": 0,
"text": "ok"
}
]
}{
"response": {},
"messages": [
{
"code": 18011,
"text": "OttoFMS sample error"
}
]
}