s3_get_presigned_upload_part_url
Generate short-lived presigned URLs for individual parts of an S3-compatible multipart upload, enabling clients to upload each part directly to Backblaze B2.
Instructions
Generate short-lived presigned PUT URL bearer capabilities for parts of an S3-compatible multipart upload, so the client/worker uploads each part DIRECTLY to B2. Prefer this over s3_get_presigned_url for multipart uploads; use s3_get_presigned_url for single-object PUT/GET transfers. The response includes expiresIn/expiresAt; treat each URL as sensitive until it expires. Flow: s3_create_multipart_upload → s3_get_presigned_upload_part_url → PUT each part to its URL (capture the ETag from each response header) → s3_complete_multipart_upload with those ETags. Parts except the last must be ≥5 MiB, and no part may exceed 5 GiB.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | Yes | The object key. | |
| bucket | Yes | The bucket name. | |
| uploadId | Yes | The UploadId from s3_create_multipart_upload. | |
| expiresIn | No | URL expiry in seconds (default: 3600 = 1 hour, max: 604800 = 7 days). | |
| partNumbers | Yes | Part numbers to presign (each 1–10000). Mint all parts at once, or only the missing ones to resume. |