1
1
mirror of https://github.com/pterodactyl/panel.git synced 2024-10-28 04:42:29 +01:00
Pterodactyl-Panel/routes/api-remote.php

15 lines
540 B
PHP
Raw Normal View History

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