GetGroupsByIdGroupPicture

Function: getGroupsByIdGroupPicture()

getGroupsByIdGroupPicture<ThrowOnError>(options): RequestResult<GetGroupsByIdGroupPictureResponses, GetGroupsByIdGroupPictureErrors, ThrowOnError>

Defined in: app/api/sdk.gen.ts:416

Retrieves the binary file content of a specific group's profile picture. The GetGroupPicture endpoint fetches the stored image associated with a group and streams it back to the client with the appropriate content type. This endpoint includes checks to ensure both the group and the physical file exist on the server. It provides a direct way for client applications to render group imagery while centralizing the file retrieval logic through the service layer.

Type Parameters

ThrowOnError

ThrowOnError *extends* boolean = false

Parameters

options

Options<GetGroupsByIdGroupPictureData, ThrowOnError>

Returns

RequestResult<GetGroupsByIdGroupPictureResponses, GetGroupsByIdGroupPictureErrors, ThrowOnError>

On this page