Add governance and TEA preview REST endpoints

Use the models router for curves and training inputs, the EEG router for summary, and a separate preview router. Keep the preview result typed with the existing persistence model and declare multipart binary schemas for generated Blob parameters.
This commit is contained in:
2026-11-29 19:44:45 -06:00
parent 9e5aa20092
commit 80b3d23b75
6 changed files with 274 additions and 7 deletions
+2 -1
View File
@@ -3,7 +3,7 @@ from fastapi.exception_handlers import http_exception_handler
from starlette.exceptions import HTTPException
from core.domains import Domain
from webapi import eeg, execution, fhir, ingest, models, review, runs
from webapi import eeg, execution, fhir, ingest, models, preview, review, runs
from webapi.auth import caller
app = FastAPI(
@@ -18,6 +18,7 @@ app.include_router(runs.router)
app.include_router(execution.router)
app.include_router(models.router)
app.include_router(eeg.router)
app.include_router(preview.router)
app.include_router(fhir.router)