2017-09-23 20:45:25 -05:00
|
|
|
<?php
|
2018-03-01 19:19:19 -06:00
|
|
|
|
2019-09-22 15:30:53 -07:00
|
|
|
use Illuminate\Support\Facades\Route;
|
2017-10-05 23:09:43 -05:00
|
|
|
|
2019-09-22 15:30:53 -07:00
|
|
|
Route::get('/authenticate/{token}', 'ValidateKeyController@index');
|
|
|
|
Route::post('/download-file', 'FileDownloadController@index');
|
2017-10-25 00:35:25 -04:00
|
|
|
|
2017-11-05 15:36:37 -06:00
|
|
|
Route::group(['prefix' => '/scripts'], function () {
|
|
|
|
Route::get('/{uuid}', 'EggInstallController@index')->name('api.remote.scripts');
|
|
|
|
});
|
|
|
|
|
2017-10-25 00:35:25 -04:00
|
|
|
Route::group(['prefix' => '/sftp'], function () {
|
|
|
|
Route::post('/', 'SftpController@index')->name('api.remote.sftp');
|
|
|
|
});
|
2019-09-22 15:30:53 -07:00
|
|
|
|
|
|
|
Route::group(['prefix' => '/servers/{uuid}'], function () {
|
|
|
|
Route::get('/configuration', 'Servers\ServerConfigurationController');
|
|
|
|
});
|