Закончили редизайн, обновили интерфейс бэкапа
This commit is contained in:
@@ -10,10 +10,9 @@ None (Top-level page component)
|
||||
- `on:backup-restore`: Triggered when user requests a restore.
|
||||
|
||||
### Data Dependencies
|
||||
- `GET /api/backups`: Fetch list of backups.
|
||||
- Response: `Array<BackupConfiguration>`
|
||||
- `POST /api/backups`: Create new backup.
|
||||
- Body: `{ type: string, target: string }`
|
||||
- `POST /api/backups/{id}/restore`: Restore a backup.
|
||||
|
||||
*(Note: Actual endpoints depend on Feature 009 implementation; these are the frontend's expected contracts)*
|
||||
- `GET /api/environments`: Fetch list of available environments.
|
||||
- `GET /api/storage/files?category=backups`: Fetch list of backup files.
|
||||
- `POST /api/tasks`: Create new backup task.
|
||||
- Body: `{ plugin_id: 'superset-backup', params: { environment_id: string } }`
|
||||
- `PUT /api/environments/{id}/schedule`: Update backup schedule.
|
||||
- Body: `{ enabled: boolean, cron_expression: string }`
|
||||
Reference in New Issue
Block a user