Include all server information in details endpoints for daemon to use

This commit is contained in:
Dane Everitt 2019-12-22 13:28:51 -08:00
parent 058f72c923
commit 59bfc212c9
No known key found for this signature in database
GPG key ID: EEA66103B3D71F53
2 changed files with 23 additions and 8 deletions

View file

@ -12,5 +12,5 @@ Route::group(['prefix' => '/scripts'], function () {
// Routes for the Wings daemon.
Route::post('/sftp/auth', 'SftpAuthenticationController');
Route::group(['prefix' => '/servers/{uuid}'], function () {
Route::get('/configuration', 'Servers\ServerConfigurationController');
Route::get('/', 'Servers\ServerDetailsController');
});