Spaces:
Running
Running
| """superadmin/router.py β SuperAdmin API aggregator. | |
| Mounts all sub-routers. This file should never contain route logic. | |
| All routes live in superadmin/routers/*.py. | |
| Routes served at: /api/super/* | |
| Auth: SuperAdmin JWT + TOTP required on all routes. | |
| """ | |
| from fastapi import APIRouter | |
| from app.superadmin.routers import authors, grants, platform, platform_apis, totp, pricing, stripe_config | |
| router = APIRouter() | |
| router.include_router(totp.router) | |
| router.include_router(platform.router) | |
| router.include_router(platform_apis.router) | |
| router.include_router(authors.router) | |
| router.include_router(grants.router) | |
| router.include_router(pricing.router) # Phase 1 β dynamic pricing management | |
| router.include_router(stripe_config.router) # Phase 1 β Stripe key management | |