Skip to content

API Routes & Admin Interface

The meetingscribe application organizes its HTTP endpoints into modular route files to maintain a flat import structure and avoid circular dependencies. Each module declares an APIRouter instance and its associated handler functions, which are then registered with the main FastAPI application in server.py via app.include_router(router) during construction 1. These route modules rely on shared state from meeting_scribe.runtime.state and shared helpers from meeting_scribe.server_support, but they are strictly prohibited from importing from meeting_scribe.server to prevent cycles.

The routing layer is designed to extract logic from the main server file into distinct modules. This approach allows for cleaner separation of concerns while ensuring that the parity test can detect any accidental circular imports if the convention of not importing from meeting_scribe.server is violated.

diagram

The provided source documentation for src/meeting_scribe/routes/__init__.py describes the structural organization and import constraints of the route modules but does not detail specific authentication guards, OIDC implementations, or bearer token handling within the route modules themselves. The overview notes that server.py handles the inclusion of routers, but specific authentication logic per route is not described in the available text.