Artboard
OttoFMS Settings

Create Offsite Schedule

POST
/otto/api/settings/offsite/schedules

Request Body

application/json

POST /otto/api/settings/offsite/schedules Request body

bucket_name*string
Length1 <= length
container_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
Length1 <= length
remote_name*string
Length1 <= length
remote_path*string
Length1 <= length
zip_files?|
clone?boolean
dailyDays?number
Range1 <= value <= 999
daysOfTheWeek?array<>
enabled?boolean
endDate?string
frequencyType?string
Value in"daily" | "weekly"
maxBackups?number
Range1 <= value <= 99
repeatTask?|
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": {}
}