Merge pull request 'feat(api): change user appointment stats endpoint to POST method' (#39) from feature/meetings into main
Reviewed-on: https://gitea.blackbusinesslabs.com/ATTUNE-HEART-THERAPY/alternative-backend-service/pulls/39
This commit is contained in:
commit
45f49544c2
@ -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",
|
||||
|
||||
Loading…
Reference in New Issue
Block a user