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
|
|
|
|
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');
|
2020-01-19 21:50:38 +00:00
|
|
|
Route::get('/install', 'Servers\ServerInstallController@index');
|
|
|
|
Route::post('/install', 'Servers\ServerInstallController@store');
|
2020-04-04 06:50:06 +00:00
|
|
|
Route::post('/archive', 'Servers\ServerTransferController@archive');
|
2019-09-22 22:30:53 +00:00
|
|
|
});
|