Merge pull request 'feat: add user appointment stats endpoint to API root documentation' (#30) from feature/meetings into main
Reviewed-on: https://gitea.blackbusinesslabs.com/ATTUNE-HEART-THERAPY/alternative-backend-service/pulls/30
This commit is contained in:
commit
61a703c7c2
@ -294,6 +294,20 @@ def api_root(request, format=None):
|
|||||||
"completion_rate": "Percentage of requests that were scheduled"
|
"completion_rate": "Percentage of requests that were scheduled"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"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"],
|
||||||
|
"authentication": "Required",
|
||||||
|
"response_fields": {
|
||||||
|
"total_requests": "Total number of appointment requests",
|
||||||
|
"pending_review": "Number of pending review requests",
|
||||||
|
"scheduled": "Number of scheduled appointments",
|
||||||
|
"rejected": "Number of rejected requests",
|
||||||
|
"completed": "Number of completed appointments",
|
||||||
|
"completion_rate": "Percentage of requests that were scheduled"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
},
|
},
|
||||||
"jitsi_integration": {
|
"jitsi_integration": {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user