api(application): add endpoints for (de)attaching eggs and nodes on mounts
This commit is contained in:
parent
4dab137b51
commit
a71392d632
4 changed files with 157 additions and 0 deletions
|
@ -74,9 +74,14 @@ Route::group(['prefix' => '/mounts'], function () {
|
|||
|
||||
Route::post('/', 'Mounts\MountController@store');
|
||||
|
||||
Route::put('/{mount}/eggs', 'Mounts\MountController@addEggs');
|
||||
Route::put('/{mount}/nodes', 'Mounts\MountController@addNodes');
|
||||
|
||||
Route::patch('/{mount}', 'Mounts\MountController@update');
|
||||
|
||||
Route::delete('/{mount}', 'Mounts\MountController@delete');
|
||||
Route::delete('/{mount}/eggs', 'Mounts\MountController@deleteEggs');
|
||||
Route::delete('/{mount}/nodes', 'Mounts\MountController@deleteNodes');
|
||||
});
|
||||
|
||||
/*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue