GetMembersByIdProfilePicture
Function: getMembersByIdProfilePicture()
getMembersByIdProfilePicture<
ThrowOnError>(options):RequestResult<GetMembersByIdProfilePictureResponses,GetMembersByIdProfilePictureErrors,ThrowOnError>
Defined in: app/api/sdk.gen.ts:614
Retrieves the profile picture file for a specific member. The GetProfilePicture endpoint locates the image asset associated with the member's profile and streams it to the client with the correct content type. This allows the application to dynamically render user avatars while keeping the storage logic abstracted within the service layer.
Type Parameters
ThrowOnError
ThrowOnError *extends* boolean = false
Parameters
options
Options<GetMembersByIdProfilePictureData, ThrowOnError>
Returns
RequestResult<GetMembersByIdProfilePictureResponses, GetMembersByIdProfilePictureErrors, ThrowOnError>