Module user_details

Source

Structs§

BulkUserDetailsRequest
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_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_by_email
GET /api/v0/main-frontend/user-details/search-by-email - Allows to search user by their email
search_users_by_other_details
GET /api/v0/main-frontend/user-details/search-by-other-details - Allows to search user by their names etc.
search_users_fuzzy_match
GET /api/v0/main-frontend/user-details/search-fuzzy-match - Allows to find the right user details in cases where there is a small typing error in the search query
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