Notifications
OttoFMS can send notifications for Deployments, Builds, and Offsite Backups. Notifications can be sent to a webhook URL or to a Slack channel.
Webhooks
Webhooks can be used to get notifications to any service that supports webhooks (including OttoFMS itself!). The webhook payload will change depending on the type of process notifications are being sent for, as well as the status of that process. The best way to get an example payload is to use the test buttons wherever you are setting up notifications. There are some examples of payloads included below for reference.
{
"event": "deployment_started",
"data": {
"status": "started",
"deploymentId": 14,
"name": "My Deployment",
"host": "https://filemaker.yourserver.com",
"serverUrl": "https://filemaker.yourserver.com",
"deploymentUrl": "https://filemaker.yourserver.com/otto/deployments/14",
"getDeploymentUrl": "https://filemaker.yourserver.com/otto/api/deployments/14/",
"isSubDeployment": false,
"files": ["file1.fmp12", "file2.fmp12"],
"fileCount": 2,
"timestamp": "2021-01-01T00:00:00Z",
}
}
Slack
To get a Slack url for OttoFMS to send notifications to, you can use the button below. This will open a new window where you can authorize OttoFMS to send notifications to your Slack channel.
