feat(api): change user appointment stats endpoint to POST method #39

Merged
Saani merged 1 commits from feature/meetings into main 2025-11-26 16:21:18 +00:00

View File

@ -297,8 +297,9 @@ def api_root(request, format=None):
"user_appointment_stats": {
"description": "Get appointment statistics and analytics for the authenticated user",
"url": request.build_absolute_uri("/api/meetings/user/appointments/stats/"),
"methods": ["GET"],
"methods": ["POST"],
"authentication": "Required",
"required_fields": ["email"],
"response_fields": {
"total_requests": "Total number of appointment requests",
"pending_review": "Number of pending review requests",