Add endpoint to get all nodes meeting memory & disk requirements for a server; closes #1012

This commit is contained in:
Dane Everitt 2021-01-10 13:08:43 -08:00
parent ef3f8586c5
commit ff21d83e2d
No known key found for this signature in database
GPG key ID: EEA66103B3D71F53
5 changed files with 87 additions and 5 deletions

View file

@ -32,6 +32,7 @@ Route::group(['prefix' => '/users'], function () {
*/
Route::group(['prefix' => '/nodes'], function () {
Route::get('/', 'Nodes\NodeController@index')->name('api.application.nodes');
Route::get('/deployable', 'Nodes\NodeDeploymentController');
Route::get('/{node}', 'Nodes\NodeController@view')->name('api.application.nodes.view');
Route::get('/{node}/configuration', 'Nodes\NodeConfigurationController');