# Presets schedules
Get a list of the preset scheduled time.
# HTTP Request:
GET https://api.serveravatar.com/organizations/{organization}/servers/{server}/backups/presets
# Curl Request example:
curl --request GET \
--url "https://api.serveravatar.com/organizations/5/servers/15/backups/presets" \
--header 'content-type: application/json' \
--header 'Authorization: <YOUR API TOKEN>'
# Response:
# Presets Lists
- 200 (Ok)
{
"databases": null,
"schedules": [
"Every Hour",
"Every 3 Hours",
"Every 6 Hours",
"Every 12 Hours",
"Every Day",
"Every 2 Days",
"Every Week",
"Every Month",
"Twice a Month",
"Every 3 Months",
"Every 6 Months",
"Every Year"
],
"retentionPeriod": [
"1 Month",
"2 Months",
"3 Months",
"6 Months",
"12 Months",
"24 Months"
],
"selectedDatabase": null
}
# Organization Not Found
- 404 (Not Found)
{
"message": "Organization not found!"
}
# Server not found
- 404 (Not Found)
{
"message": "Server not found!"
}
# Server Error
- 500 (Internal Server Error)
{
"message":"Something went really wrong!"
}