From e24bc64ddacaea0720b4c61a8187cac8bec26aff Mon Sep 17 00:00:00 2001 From: Lee Chagolla-Christensen Date: Mon, 27 Oct 2025 11:06:29 -0700 Subject: [PATCH] remove unused API endpoints --- .../file_enrichment/routes/enrichments.py | 33 ------------------- 1 file changed, 33 deletions(-) diff --git a/projects/file_enrichment/file_enrichment/routes/enrichments.py b/projects/file_enrichment/file_enrichment/routes/enrichments.py index 9ea98cf..d46ed9d 100644 --- a/projects/file_enrichment/file_enrichment/routes/enrichments.py +++ b/projects/file_enrichment/file_enrichment/routes/enrichments.py @@ -156,36 +156,3 @@ async def run_enrichment( pid=os.getpid(), ) raise HTTPException(status_code=500, detail=f"Internal server error: {str(e)}") from e - - -@router.post("/enrichments/{enrichment_name}/bulk") -async def run_bulk_enrichment( - enrichment_name: str = Path(..., description="Name of the enrichment module to run"), -): - """Bulk enrichment is now handled by the web API using distributed processing.""" - raise HTTPException( - status_code=501, - detail="Bulk enrichment has been moved to the web API for distributed processing. Please use the main API endpoint.", - ) - - -@router.get("/enrichments/{enrichment_name}/bulk/status") -async def get_bulk_enrichment_status( - enrichment_name: str = Path(..., description="Name of the enrichment module to check status for"), -): - """Bulk enrichment status is now handled by the web API.""" - raise HTTPException( - status_code=501, - detail="Bulk enrichment status is now handled by the web API. Please use the main API endpoint.", - ) - - -@router.post("/enrichments/{enrichment_name}/bulk/stop") -async def stop_bulk_enrichment( - enrichment_name: str = Path(..., description="Name of the enrichment module to stop"), -): - """Bulk enrichment stopping is now handled by the web API.""" - raise HTTPException( - status_code=501, - detail="Bulk enrichment stopping is now handled by the web API. Please use the main API endpoint.", - )