Module user_details

Source

Structs§

UserInfoPayload

Functions§

_add_routes
get_user_country_by_ip
get_user_details
GET /api/v0/main-frontend/user-details/[id] - Find user details by user id
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