Updated endpoints and tests for users, rbac, health, file, and auth
This commit is contained in:
1 parent
207b8eea5e
commit
d379fbd621
26 files changed
+582
-28
No files matched your search
@@ -5,7 +5,13 @@ from app.core.common import Message
|
||||
router = APIRouter(tags=["health"])
|
||||
|
||||
|
||||
@router.get(path="/")
|
||||
@router.get(path="/health")
|
||||
def status_check() -> Message:
|
||||
"""Endpoind to check if server is running."""
|
||||
return {"status": "healthy"}
|
||||
|
||||
|
||||
@router.get(path="/ready")
|
||||
def ready_check() -> Message:
|
||||
"""Endpoind to check if server is ready."""
|
||||
return {"status": "healthy"}
|
||||
Reference in new issue
Block a user