get https://api.banking.netevia.dev/Files/avatarIcon
The GET /Files/avatarIcon API method allows clients to retrieve the user's avatar image. This endpoint returns the avatar in base64 format, along with the content type (e.g., image/jpeg), enabling the client to display the user's avatar within the application.
Functionality:
- Fetches the user's avatar in a base64-encoded format.
- Provides the MIME type of the image (e.g., JPEG, PNG) to allow proper rendering of the image.
Response:
{
"Content": "base64-encoded file content",
"ContentType": "image/jpeg"
}
Key Features:
- Base64-encoded Image: Returns the avatar image as a base64-encoded string, which can easily be displayed on web or mobile platforms.
- Content Type Information: Includes the MIME type (e.g., image/jpeg, image/png) to correctly handle the file format.
- User Personalization: This endpoint is used to retrieve a unique visual representation of the user (avatar), helping enhance the user experience by providing personalized content.
This API is useful for retrieving and displaying user avatars securely and efficiently across different platforms.