Skip to content

An open-source, self-hostable PaaS alternative to Vercel, Heroku & Netlify that lets you easily deploy static sites, databases, full-stack applications and 360+ one-click services on your own servers.

refactor(databases): remove deprecated backup parameters from API documentation

Andras Bacsaied2ba832a8a0
diff --git a/app/Http/Controllers/Api/DatabasesController.php b/app/Http/Controllers/Api/DatabasesController.php
index 31bf2807e5..a9c7cb6f4b 100644
--- a/app/Http/Controllers/Api/DatabasesController.php
+++ b/app/Http/Controllers/Api/DatabasesController.php
@@ -294,19 +294,6 @@ class DatabasesController extends Controller
'mysql_user' => ['type' => 'string', 'description' => 'MySQL user'],
'mysql_database' => ['type' => 'string', 'description' => 'MySQL database'],
'mysql_conf' => ['type' => 'string', 'description' => 'MySQL conf'],
- 'save_s3' => ['type' => 'boolean', 'description' => 'Whether data is saved in s3 or not'],
- 's3_storage_uuid' => ['type' => 'string', 'description' => 'S3 storage UUID'],
- 'backup_now' => ['type' => 'boolean', 'description' => 'Whether to take a backup now or not'],
- 'enabled' => ['type' => 'boolean', 'description' => 'Whether the backup is enabled or not'],
- 'databases_to_backup' => ['type' => 'string', 'description' => 'Comma separated list of databases to backup'],
- 'dump_all' => ['type' => 'boolean', 'description' => 'Whether all databases are dumped or not'],
- 'frequency' => ['type' => 'string', 'description' => 'Frequency of the backup'],
- 'database_backup_retention_amount_locally' => ['type' => 'integer', 'description' => 'Retention amount of the backup locally'],
- 'database_backup_retention_days_locally' => ['type' => 'integer', 'description' => 'Retention days of the backup locally'],
- 'database_backup_retention_max_storage_locally' => ['type' => 'integer', 'description' => 'Max storage of the backup locally'],
- 'database_backup_retention_amount_s3' => ['type' => 'integer', 'description' => 'Retention amount of the backup in s3'],
- 'database_backup_retention_days_s3' => ['type' => 'integer', 'description' => 'Retention days of the backup in s3'],
- 'database_backup_retention_max_storage_s3' => ['type' => 'integer', 'description' => 'Max storage of the backup in S3'],
],
),
)