From 99200e44e2e16e186623c1c76393678f754789bf Mon Sep 17 00:00:00 2001 From: Backend IM Bot Date: Thu, 27 Mar 2025 13:40:33 -0500 Subject: [PATCH] Add GET endpoint for service --- endpoints/service.get.py | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 endpoints/service.get.py diff --git a/endpoints/service.get.py b/endpoints/service.get.py new file mode 100644 index 0000000..906086a --- /dev/null +++ b/endpoints/service.get.py @@ -0,0 +1,9 @@ +# Entity: HealthCheck + +from fastapi import APIRouter, status + +router = APIRouter() + +@router.get("/api/health", status_code=status.HTTP_200_OK) +async def health_check(): + return {"status": "OK"} \ No newline at end of file