MultipartUploadRequest
org.sagebionetworks.repo.model.file.MultipartUploadRequest
Request to start or continue a multi-part file upload.
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 a file, the client must split the process into 'parts' and upload 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 stored. A value of null indicates the default synapse storage. |
generatePreview | BOOLEAN | Optional parameter. When set to 'false' a preview will not be generated for the resulting file. |
contentMD5Hex | STRING | The MD5 of the entire file to be uploaded represented as a HEX string. |
contentType | STRING | The content type of the file. |
fileSizeBytes | INTEGER | The size of the entire file in bytes. |