Add server build management to API

This commit is contained in:
Dane Everitt 2018-01-21 16:02:03 -06:00
parent d3dba3fcf9
commit aca0819bcd
No known key found for this signature in database
GPG key ID: EEA66103B3D71F53
8 changed files with 202 additions and 128 deletions

View file

@ -73,6 +73,7 @@ Route::group(['prefix' => '/servers'], function () {
Route::get('/{server}', 'Servers\ServerController@view')->name('api.application.servers.view');
Route::patch('/{server}/details', 'Servers\ServerDetailsController@details')->name('api.application.servers.details');
Route::patch('/{server}/build', 'Servers\ServerDetailsController@build')->name('api.application.servers.build');
Route::post('/{server}/suspend', 'Servers\ServerManagementController@suspend')->name('api.application.servers.suspend');
Route::post('/{server}/unsuspend', 'Servers\ServerManagementController@unsuspend')->name('api.application.servers.unsuspend');