More API updates, better support for node config edits

This commit is contained in:
Dane Everitt 2018-01-10 23:19:03 -06:00
parent 800e2df6b2
commit cf21fd5a4b
No known key found for this signature in database
GPG key ID: EEA66103B3D71F53
21 changed files with 449 additions and 125 deletions

View file

@ -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');
});
});
/*