cURL
curl --request POST \ --url http://localhost:8091/api/attachments/presign \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "filename": "<string>", "mimeType": "<string>" } '
{ "data": { "uploadId": "<string>", "uploadUrl": "<string>" } }
Creates a presigned upload URL. The client should then PUT the file to the returned upload URL.
Session token obtained from /api/auth/login or /api/auth/register. Pass as: Authorization: Bearer
Original filename
MIME type of the file
Presigned upload details
Show child attributes