Refresh presigned URLs for a multipart storage upload
Returns fresh presigned upload URLs for specific parts of an in-progress multipart upload created by `/v2/storage/uploads`. Use this to resume an upload after part URLs expire instead of restarting the whole upload. Only uploads owned by the authenticated user can be refreshed.
Returns fresh presigned upload URLs for specific parts of an in-progress multipart upload created by /v2/storage/uploads. Use this to resume an upload after part URLs expire instead of restarting the whole upload. Only uploads owned by the authenticated user can be refreshed.
Authorization
APIKeyHeader In: header
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
curl -X POST "https://example.com/v2/storage/uploads/refresh" \ -H "Content-Type: application/json" \ -d '{ "file_path": "presigned_upload/user_123/source.mp4", "upload_id": "2~example-upload-id", "part_numbers": [ 3, 7 ] }'{ "upload_urls": [ { "part_number": 3, "upload_url": "https://example-bucket.s3.amazonaws.com/presigned_upload/user_123/source.mp4?partNumber=3&X-Amz-Signature=..." } ], "method": "PUT"}Create a presigned storage upload POST
Returns one or more presigned S3 upload URLs for uploading a source file before registering it with `/v2/jobs/register`. Provide `file_size` to request a multipart upload.
List parts of an in-progress multipart storage upload POST
Returns the parts of an in-progress multipart upload that S3 has confirmed, plus fresh presigned upload URLs for every part, so a client can resume an interrupted upload instead of restarting it. Only uploads owned by the authenticated user can be listed.