diff --git a/endpoints/api/v1/endpoint.post.py b/endpoints/api/v1/endpoint.post.py new file mode 100644 index 0000000..721df5c --- /dev/null +++ b/endpoints/api/v1/endpoint.post.py @@ -0,0 +1,17 @@ +from fastapi import APIRouter, Depends, HTTPException +from core.database import fake_users_db + +router = APIRouter() + +@router.post("/endpoint") +async def check_status(): + """Check if API is working""" + return { + "message": "API is working", + "status": "operational", + "metadata": { + "timestamp": "2024-01-01T00:00:00Z", + "version": "1.0.0", + "environment": "demo" + } + } \ No newline at end of file