diff --git a/booking_system/views.py b/booking_system/views.py index c91da5b..c75db95 100644 --- a/booking_system/views.py +++ b/booking_system/views.py @@ -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",