MobileApp

Get Session Details

Changed on

Function: get_session_details Type: API Endpoint (GET)

Purpose: Retrieves session details for a user based on their email. This includes user profile information such as name, email, profile image URL, and various user attributes.

Headers:

  • email (str, required): The email of the user to fetch session details for.

Response: A JSON response containing the user's session details including name, email, profile image, and other user attributes.

Exceptions:

  • Raises HTTPException with 404 status code if the user or their details are not found.
  • Returns a JSON response with status "failed" and a 500 status code for any internal errors.

Notes:

  • The profile image URL is generated using a SAS token for accessing Azure Blob Storage.
get/api/MobileApp/get_session_details

Request

Headers

emailstring required

Response

Successful Response

unknown required

Changes