Add the ability for a node to fetch a list of all servers it has been assigned

This commit is contained in:
Matthew Penner 2020-04-10 13:04:11 -06:00
parent 07d19ad326
commit 42fb9fdbd9
4 changed files with 70 additions and 1 deletions

View file

@ -7,6 +7,9 @@ Route::post('/download-file', 'FileDownloadController@index');
// Routes for the Wings daemon.
Route::post('/sftp/auth', 'SftpAuthenticationController');
Route::get('/servers', 'Servers\ServerDetailsController@list');
Route::group(['prefix' => '/servers/{uuid}'], function () {
Route::get('/', 'Servers\ServerDetailsController');
Route::get('/install', 'Servers\ServerInstallController@index');