@backblaze-labs/b2-sdk - v0.2.0
    Preparing search index...

    Interface UnfinishedLargeFile

    Metadata for an in-progress large file upload that has not yet been finished or cancelled.

    interface UnfinishedLargeFile {
        accountId: string;
        action?: FileAction;
        bucketId: BucketId;
        contentLength?: number;
        contentMd5?: string | null;
        contentSha1?: string;
        contentType: string;
        fileId: LargeFileId;
        fileInfo: Record<string, string>;
        fileName: string;
        fileRetention?: ReadableFileRetention;
        legalHold?: ReadableLegalHold;
        serverSideEncryption?: PublicEncryptionSetting;
        uploadTimestamp?: number;
    }

    Hierarchy (View Summary)

    Index

    Properties

    accountId: string

    Account that owns this file.

    action?: FileAction

    Action that created this unfinished file version.

    bucketId: BucketId

    Bucket the file is being uploaded to.

    contentLength?: number

    When present, always 0 for unfinished large files.

    contentMd5?: string | null

    When present, always null for unfinished large files.

    contentSha1?: string

    When present, always 'none' for unfinished large files.

    contentType: string

    MIME type of the file.

    fileId: LargeFileId

    ID of the large file.

    fileInfo: Record<string, string>

    User-defined key-value metadata stored with the file.

    fileName: string

    Name of the file.

    fileRetention?: ReadableFileRetention

    Object Lock retention settings for this unfinished file, when readable.

    legalHold?: ReadableLegalHold

    Legal hold status for this unfinished file, when readable.

    serverSideEncryption?: PublicEncryptionSetting

    Server-side encryption applied to this unfinished file.

    uploadTimestamp?: number

    UTC timestamp (milliseconds) when this unfinished upload was started.