Updated endpoints and tests for users, rbac, health, file, and auth

This commit is contained in:
Sparkchaser13 committed 2026-09-25 15:36:50 -06:00
1 parent 207b8eea5e
commit d379fbd621
26 files changed
+582 -28

No files matched your search

Whitespace-only changes.
+25
View File
@@ -0,0 +1,25 @@
"""Endpoints for file upload."""
from fastapi import APIRouter
from app.core.common import Message
router = APIRouter(prefix="/files", tags=["files"])
@router.post(path="/upload")
def upload_file() -> Message:
"""Upload file endpoint."""
return {"status": "healthy"}
@router.post(path="/{file_id}/download")
def download_file(file_id: str) -> Message:
"""Download file endpoint."""
return {"status": file_id}
@router.delete(path="/{file_id}")
def delete_file(file_id: str) -> Message:
"""Delete file endpoint."""
return {"status": file_id}