deriv-2-1oysxv/endpoints/api/v1/endpoint.post.py
2025-03-18 01:08:05 +00:00

17 lines
438 B
Python

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"
}
}