Update endpoints for managing backups

This commit is contained in:
Dane Everitt 2020-04-17 10:21:51 -07:00
parent 0a20c6b857
commit 81f7734df2
No known key found for this signature in database
GPG key ID: EEA66103B3D71F53
4 changed files with 61 additions and 72 deletions

View file

@ -18,6 +18,8 @@ Route::group(['prefix' => '/servers/{uuid}'], function () {
Route::post('/archive', 'Servers\ServerTransferController@archive');
Route::get('/transfer/failure', 'Servers\ServerTransferController@failure');
Route::get('/transfer/success', 'Servers\ServerTransferController@success');
Route::post('/backup/{backup}', 'Servers\ServerBackupController');
});
Route::group(['prefix' => '/backups'], function () {
Route::post('/{backup}', 'Backups\BackupStatusController');
});