2017-09-23 20:45:25 -05:00
|
|
|
<?php
|
|
|
|
/**
|
|
|
|
* Pterodactyl - Panel
|
|
|
|
* Copyright (c) 2015 - 2017 Dane Everitt <dane@daneeveritt.com>.
|
|
|
|
*
|
2017-09-25 21:43:01 -05:00
|
|
|
* This software is licensed under the terms of the MIT license.
|
|
|
|
* https://opensource.org/licenses/MIT
|
2017-09-23 20:45:25 -05:00
|
|
|
*/
|
2017-10-05 23:09:43 -05:00
|
|
|
Route::get('/authenticate/{token}', 'ValidateKeyController@index')->name('api.remote.authenticate');
|
|
|
|
|
2017-10-07 17:21:41 -05:00
|
|
|
Route::group(['prefix' => '/eggs'], function () {
|
2017-10-08 21:36:22 -05:00
|
|
|
Route::get('/', 'EggRetrievalController@index')->name('api.remote.eggs');
|
2017-10-07 17:21:41 -05:00
|
|
|
Route::get('/{uuid}', 'EggRetrievalController@download')->name('api.remote.eggs.download');
|
2017-10-05 23:09:43 -05:00
|
|
|
});
|
2017-10-25 00:35:25 -04:00
|
|
|
|
|
|
|
Route::group(['prefix' => '/sftp'], function () {
|
|
|
|
Route::post('/', 'SftpController@index')->name('api.remote.sftp');
|
|
|
|
});
|