2017-09-24 01:45:25 +00:00
|
|
|
<?php
|
2018-03-02 01:19:19 +00:00
|
|
|
|
2019-09-22 22:30:53 +00:00
|
|
|
use Illuminate\Support\Facades\Route;
|
2017-10-06 04:09:43 +00:00
|
|
|
|
2019-09-22 22:30:53 +00:00
|
|
|
Route::get('/authenticate/{token}', 'ValidateKeyController@index');
|
|
|
|
Route::post('/download-file', 'FileDownloadController@index');
|
2017-10-25 04:35:25 +00:00
|
|
|
|
2017-11-05 21:36:37 +00:00
|
|
|
Route::group(['prefix' => '/scripts'], function () {
|
|
|
|
Route::get('/{uuid}', 'EggInstallController@index')->name('api.remote.scripts');
|
|
|
|
});
|
|
|
|
|
2019-12-08 00:14:04 +00:00
|
|
|
// Routes for the Wings daemon.
|
|
|
|
Route::post('/sftp/auth', 'SftpAuthenticationController');
|
2019-09-22 22:30:53 +00:00
|
|
|
Route::group(['prefix' => '/servers/{uuid}'], function () {
|
2019-12-22 21:28:51 +00:00
|
|
|
Route::get('/', 'Servers\ServerDetailsController');
|
2019-09-22 22:30:53 +00:00
|
|
|
});
|