PostActivitiesByIdPoster
Function: postActivitiesByIdPoster()
postActivitiesByIdPoster<
ThrowOnError>(options):RequestResult<PostActivitiesByIdPosterResponses,PostActivitiesByIdPosterErrors,ThrowOnError>
Defined in: app/api/sdk.gen.ts:105
Uploads a poster image for a specific activity by its unique identifier. The UploadPoster endpoint allows clients to submit a request to upload a poster image file for an existing activity, associating the uploaded image with the specified activity ID. This endpoint is designed to handle file uploads, ensuring that the provided file is validated and processed correctly, while also enforcing proper authorization to ensure that only authorized users can upload posters for activities within the system. Upon successful upload, the endpoint returns a 200 OK status code, indicating that the poster has been successfully uploaded and associated with the activity, allowing clients to easily manage and update activity posters as needed.
Type Parameters
ThrowOnError
ThrowOnError *extends* boolean = false
Parameters
options
Options<PostActivitiesByIdPosterData, ThrowOnError>
Returns
RequestResult<PostActivitiesByIdPosterResponses, PostActivitiesByIdPosterErrors, ThrowOnError>