feat: add raw cdr ingestion endpoint

This commit is contained in:
2026-09-20 13:18:55 +03:30
parent 729872faa3
commit 3bac56906a
5 changed files with 214 additions and 0 deletions

22
src/core/api/main.py Normal file
View File

@@ -0,0 +1,22 @@
from fastapi import FastAPI
from core.api.routes import router
app = FastAPI(
title="Telecom CDR Ingestion API",
version="0.1.0",
)
app.include_router(
router,
prefix="/api/v1",
)
@app.get("/health")
async def health() -> dict[str, str]:
return {
"status": "ok",
}