• EAP – Connectors API

    EAP – Connector API Details """ Connectors Endpoint — API Service Thin router layer: handles CRUD mechanics (DB, Pub/Sub, HTTP responses) and delegates ALL connector-specific logic to the appropriate orchestrator. Routes: GET /v1/{tenant_id}/connectors — list connectors GET /v1/{tenant_id}/connectors/{connector_id} — get connector detail POST /v1/{tenant_id}/connectors — create connector + publish worker event PATCH /v1/{tenant_id}/connectors/{connector_id} — update connector fields DELETE /v1/{tenant_id}/connectors/{connector_id} — hard-delete connector + all data To add a new connector type, create app/connectors/<source>.py implementing ConnectorOrchestrator and register it in app/connectors/registry.py. This file never needs to change. """ Get Connector Details: # – – ———————————————————————– # GET /v1/{tenant_id}/connectors/{connector_id} # – –

    Read More

  • FAST API – include_router() ?

    What Is include_router() ? from app.api.v1.router import router as api_v1_router app.include_router(api_v1_router) """ API v1 Router Single place where ALL routes are mounted. Adding a connector never touches this file — only endpoints/connectors.py and the schema layer change. """ from fastapi import APIRouter from app.api.v1.endpoints import connectors, health, jobs, sync, retriever router = APIRouter() router.include_router(health.router, prefix="/v1", tags=["Health"]) router.include_router(jobs.router, prefix="/v1", tags=["Jobs"]) router.include_router(connectors.router, prefix="/v1", tags=["Connectors"]) router.include_router(sync.router, prefix="/v1", tags=["Sync"]) router.include_router(retriever.router, prefix="/v1", tags=["Retrieval"])

    Read More

  • FAST API – What Is add_middleware() ?

    What Is add_middleware() ? add_middleware() What Is CORSMiddleware ? What Does CORSMiddleware Adds In The Response ? What Is Function Based Middleware & Class Based Middleware ?

    Read More

  • FAST API – What Is FastAPI Class ?

    What Is FastAPI Class ?

    Read More

  • FAST API – ‘Lifespan’ Method.

    Fast API LifeSpan Method What Is LifeSpan Method? When a application starts and when it stop and who start and stop the application ?

    Read More