from fastapi import APIRouter from fluksio.api.routes import ( alerts, artifacts, cloud, dashboards, flows, login, messages, modules, oauth, observability, panels, private, runs, secrets, users, utils, workers, ) api_router = APIRouter() api_router.include_router(login.router) api_router.include_router(users.router) api_router.include_router(utils.router) api_router.include_router(flows.router) api_router.include_router(flows.ws_router) api_router.include_router(secrets.router) api_router.include_router(alerts.router) api_router.include_router(dashboards.router) api_router.include_router(panels.router) api_router.include_router(messages.router) api_router.include_router(modules.router) api_router.include_router(observability.router) api_router.include_router(runs.router) api_router.include_router(artifacts.router) api_router.include_router(workers.router) # Remote access through a portal. Always mounted; with no enrolment the # endpoints only ever report that there is none. api_router.include_router(cloud.router) # Always mounted so the generated SDK stays the same shape; the endpoints # themselves refuse to work unless MCP is switched on. api_router.include_router(oauth.router) # Always mounted like oauth, so the generated SDK keeps its shape; the # endpoints refuse to work unless the private API is explicitly enabled. api_router.include_router(private.router)