get('/user', function (Request $request) { return $request->user(); }); Route::get('/characters/online', [CharacterController::class, 'online']); Route::get('/characters/stats', [CharacterController::class, 'stats']); Route::get('/characters/hardcore/stats', [HardcoreController::class, 'stats']); Route::get('/characters/population', [PopulationController::class, 'stats']); Route::get('/turtle_tv/videos', [VideoController::class, 'getVideos']); Route::middleware(['external:api'])->group(function () { Route::post('/check/username', [CharacterTransferController::class, 'checkUsername']); Route::post('/transfer/account', [CharacterTransferController::class, 'transferAccount']); }); Route::post('/btcpay/invoiceSettled', [DonationController::class, 'invoiceSettled']);