MobileApp
Get Session Details
Changed onFunction: 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
- Base URLhttps://api.leapsurgebi.com (the document declares no server; this is the origin it was published from)
- AuthOAuth 2PasswordToken URL/auth/token
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Headers
emailstring required
Response
Successful Response
unknown required
Changes
- info
endpoint added
- info