Headers
Body
application/json
Response
OK - Returns the signed URL, presigned fields, updated file name, and file URL.
API endpoint for uploading public files. Uploaded files are public and accessible by anyone. This endpoint requires authentication. It accepts a JSON body with fileName, fileType, environmentId, and optionally allowedFileExtensions to restrict file types. On success, it returns a signed URL for uploading the file to S3.
OK - Returns the signed URL, presigned fields, updated file name, and file URL.