mirror of
https://github.com/MrUnknownDE/panel.git
synced 2026-04-18 14:23:44 +02:00
More API updates, better support for node config edits
This commit is contained in:
@@ -34,6 +34,12 @@ Route::group(['prefix' => '/nodes'], function () {
|
||||
Route::patch('/{node}', 'Nodes\NodeController@update')->name('api.admin.node.update');
|
||||
|
||||
Route::delete('/{node}', 'Nodes\NodeController@delete')->name('api.admin.node.delete');
|
||||
|
||||
Route::group(['prefix' => '/{node}/allocations'], function () {
|
||||
Route::get('/', 'Nodes\AllocationController@index')->name('api.admin.node.allocations.list');
|
||||
|
||||
Route::delete('/{allocation}', 'Nodes\AllocationController@delete')->name('api.admin.node.allocations.delete');
|
||||
});
|
||||
});
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user