Finalize server management API

This commit is contained in:
Dane Everitt 2018-01-30 20:36:59 -06:00
parent 1be7805481
commit c599112021
No known key found for this signature in database
GPG key ID: EEA66103B3D71F53
6 changed files with 163 additions and 17 deletions

View file

@ -76,6 +76,7 @@ Route::group(['prefix' => '/servers'], function () {
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::patch('/{server}/startup', 'Servers\StartupController@index')->name('api.application.servers.startup');
Route::post('/', 'Servers\ServerController@store');
Route::post('/{server}/suspend', 'Servers\ServerManagementController@suspend')->name('api.application.servers.suspend');