latestOpenAPI 3.1.02026-08-12154749.3 KB
ebb545e26e94
Common
Upload a file to the server.
The uploaded file in other endpoints is called a "source file".
You can use the source file ID from the response to create split tasks.
The file will be deleted when the expiration time from the response is reached.
Upload limit is 10GB per request.
post/api/v1/upload/
Headers
Content-Dispositionstring required
'attachment; filename=<filename>' - a name for the file (see RFC 6266).
Response
OK
Example response
{
"id": "e1fc1d8f-502e-4de0-bf3b-b30543d11c77",
"name": "my_audio.mp3",
"size": 12345678,
"duration": 180
}