MultipartUploadCopyRequest

org.sagebionetworks.repo.model.file.MultipartUploadCopyRequest

A multi-part upload that performs a copy of an existing file handle without data transfer from the client. Currently supports only copy from and to S3 buckets that live in the same region.

Field Type Description
concreteType STRING Indicates which type of multi-part request to initiate. Currently supports MultipartUploadRequest and MultipartUploadCopyRequest
partSizeBytes INTEGER In order to upload or copy a file, the client must split the process into 'parts' and upload or copy each part separately. This indicates the clients intended part size in bytes. Part size must be at least 5,242,880 bytes (5MB) with a max of 5,368,709,120 bytes (5GB). Also the maximum number of parts for a single file is 10K. The recommended part size for a single file upload should be: MAX( 5242880, (fileSizeBytes/10000)).
fileName STRING The name of the file to be uploaded.
storageLocationId INTEGER The identifier of the storage location where this file should be copied to. The user must be the owner of the storage location.
generatePreview BOOLEAN Optional parameter. When set to 'false' a preview will not be generated for the resulting file.
sourceFileHandleAssociation FileHandleAssociation Describes an association of a FileHandle with another object.