mirror of
https://github.com/MrUnknownDE/panel.git
synced 2026-04-19 23:03:45 +02:00
Add server details modification endpoint to API.
This commit is contained in:
@@ -72,6 +72,8 @@ Route::group(['prefix' => '/servers'], function () {
|
||||
Route::get('/', 'Servers\ServerController@index')->name('api.application.servers');
|
||||
Route::get('/{server}', 'Servers\ServerController@view')->name('api.application.servers.view');
|
||||
|
||||
Route::patch('/{server}/details', 'Servers\ServerDetailsController@details')->name('api.application.servers.details');
|
||||
|
||||
Route::post('/{server}/suspend', 'Servers\ServerManagementController@suspend')->name('api.application.servers.suspend');
|
||||
Route::post('/{server}/unsuspend', 'Servers\ServerManagementController@unsuspend')->name('api.application.servers.unsuspend');
|
||||
Route::post('/{server}/reinstall', 'Servers\ServerManagementController@reinstall')->name('api.application.servers.reinstall');
|
||||
|
||||
Reference in New Issue
Block a user