cURL
curl --request POST \ --url https://api.example.com/api/files/upload-s3/generate-presigned-urls \ --header 'Authorization: <authorization>' \ --header 'Content-Type: application/json' \ --data ' { "filesize": 123, "filetype": "<string>" } '
{ "detail": [ { "loc": [ "<string>" ], "msg": "<string>", "type": "<string>" } ] }
Generate presigned urls for each part of file, filesize and filetype are required.
file size in bytes
filetype: opus or mp3
OK
Was this page helpful?