[a-zA-Z0-9-]+)', [TemplateController::class, 'ping']); ApiRouter::get('/user', [UserController::class, 'show']); ApiRouter::post('/user', [UserController::class, 'store']); ApiRouter::post('/clear-user', [UserController::class, 'delete']); ApiRouter::get('/user-meta', [UserController::class, 'meta']); ApiRouter::get('/max-free-imports', [UserController::class, 'maxImports']); ApiRouter::post('/register-mailing-list', [UserController::class, 'mailingList']); ApiRouter::post('/register', [AuthController::class, 'register']); ApiRouter::post('/login', [AuthController::class, 'login']); ApiRouter::get('/meta-data', [MetaController::class, 'getAll']); ApiRouter::post('/simple-ping', [PingController::class, 'ping']); ApiRouter::get('/site-settings', [SiteSettingsController::class, 'show']); ApiRouter::post('/site-settings', [SiteSettingsController::class, 'store']); } );