Skip to main content

Module user_details

Module user_details 

Source

Structs§

BulkUserDetailsRequest
MainFrontendUserDetailsApiDoc 🔒
UserDetailsRequest
UserInfoPayload

Functions§

_add_routes
get_bulk_user_details
POST /api/v0/main-frontend/user-details/bulk-user-details - Get user details for a list of user IDs with course permission check Only returns user details for users who are actually enrolled in the specified course
get_user_country_by_ip
get_user_details
GET /api/v0/main-frontend/user-details/{course_id}/user/{user_id} - Find user details by user id with course permission check Only returns user details if the user is enrolled in the specified course
get_user_details_by_courses
POST /api/v0/main-frontend/user-details/user-by-courses - Find user details by user id with multi-course permission check Returns user details if the user has permission to view user details through any of the specified courses
get_user_details_for_user
GET /api/v0/main-frontend/user-details/user-details-for-user - Get authenticated user’s own details
get_users_by_course_id
GET /api/v0/main-frontend/user-details/get-users-by-course-id - Get user details of users that are in the course
search_users_exact
POST /api/v0/main-frontend/user-details/search-exact - Finds the user whose id or email equals the query
search_users_fuzzy
POST /api/v0/main-frontend/user-details/search-fuzzy - Typo-tolerant search by name or email
update_user_info
POST /api/v0/main-frontend/user-details/update-user-info - Updates the users information such as email, name, country and email communication consent