Request body for creating multipart upload urls.

interface ICreateMultipartUploadUrlsRequest {
    fileName: string;
    mimeType: string;
    numberOfParts: number;
    startingPartNumber?: number;
    uploadId?: string;
}

Implemented by

Properties

fileName: string

The name of the file to be uploaded. The file extension in the name will be used as the extension of the imported entry. Required when startingPartNumber is 1 (first batch); ignored on subsequent batches.

mimeType: string

The mime-type of the file to be uploaded. Required when startingPartNumber is 1 (first batch); ignored on subsequent batches.

numberOfParts: number

The value must be in the range [1, 100], meaning that in each call to the CreateMultipartUploadUrls api, a maximum of 100 Upload URLs can be requested. Further, each file chunk written to an Upload URL should be at least 5 MB. There is no minimum size limit for the last chunk.

startingPartNumber?: number

Determines the starting position of the requested parts among all the parts associated with this upload. The default value is 1.

uploadId?: string

A unique identifier for the whole upload process.