Endpoint
Uploads an image file to a specific event. The image will be stored and associated with the provided event ID.
Request
This endpoint accepts multipart/form-data with the following parts:
The ID of the event to associate the image with (numeric value as string)
Response
A string message indicating the result of the upload operation
Example request
curl -X POST https://api.brautcloud.com/api/image \
-H "Content-Type: multipart/form-data" \
-F "file=@/path/to/image.jpg" \
-F "eventId=123"
Example response
Image uploaded successfully