2016-01-21 03:39:02 +00:00
|
|
|
<?php
|
|
|
|
/**
|
|
|
|
* Pterodactyl - Panel
|
2017-01-24 22:57:08 +00:00
|
|
|
* Copyright (c) 2015 - 2017 Dane Everitt <dane@daneeveritt.com>.
|
2016-01-21 03:39:02 +00:00
|
|
|
*
|
2017-09-26 02:43:01 +00:00
|
|
|
* This software is licensed under the terms of the MIT license.
|
|
|
|
* https://opensource.org/licenses/MIT
|
2016-01-21 03:39:02 +00:00
|
|
|
*/
|
2017-04-28 14:19:04 +00:00
|
|
|
Route::get('/services', 'ServiceController@listServices')->name('daemon.services');
|
2017-04-02 01:01:10 +00:00
|
|
|
Route::get('/services/pull/{service}/{file}', 'ServiceController@pull')->name('daemon.pull');
|
|
|
|
Route::get('/packs/pull/{uuid}', 'PackController@pull')->name('daemon.pack.pull');
|
|
|
|
Route::get('/packs/pull/{uuid}/hash', 'PackController@hash')->name('daemon.pack.hash');
|
2017-04-20 21:26:20 +00:00
|
|
|
Route::get('/details/option/{server}', 'OptionController@details')->name('daemon.option.details');
|
2017-05-01 17:59:33 +00:00
|
|
|
Route::get('/configure/{token}', 'ActionController@configuration')->name('daemon.configuration');
|
|
|
|
|
2017-05-01 18:32:22 +00:00
|
|
|
Route::post('/download', 'ActionController@authenticateDownload')->name('daemon.download');
|
2017-05-01 17:59:33 +00:00
|
|
|
Route::post('/install', 'ActionController@markInstall')->name('daemon.install');
|