OttoFMS Settings
Create Offsite Schedule
Request Body
application/json
POST /otto/api/settings/offsite/schedules Request body
bucket_name*string
Length
1 <= lengthcontainer_data_1_bucket?|
container_data_1_different_remote?|
container_data_1_remote?|
container_data_1_remote_path?|
container_data_2_bucket?|
container_data_2_different_remote?|
container_data_2_remote?|
container_data_2_remote_path?|
file_browser_hash?string
the hash to use in the file browser url
include_external_container_data_1?boolean
include_external_container_data_2?boolean
name*string
Length
1 <= lengthremote_name*string
Length
1 <= lengthremote_path*string
Length
1 <= lengthzip_files?|
clone?boolean
dailyDays?number
Range
1 <= value <= 999daysOfTheWeek?array<>
enabled?boolean
endDate?string
frequencyType?string
Value in
"daily" | "weekly"maxBackups?number
Range
1 <= value <= 99repeatTask?|
sendEmail?array<>
startTimeStamp?string
verify?boolean
useExistingSchedule?boolean
Response Body
application/json
application/json
curl -X POST "https://your.server.net/otto/api/settings/offsite/schedules" \ -H "Content-Type: application/json" \ -d '{ "bucket_name": "string", "name": "string", "remote_name": "string", "remote_path": "string" }'{
"messages": [
{
"code": 0,
"text": "ok"
}
],
"response": {}
}{
"messages": [
{
"code": 18011,
"text": "OttoFMS sample error"
}
],
"response": {}
}