Databricks SDK for JavaScript
    Preparing search index...

    Interface UploadFileRequest

    Upload a file

    interface UploadFileRequest {
        contents?: ReadableStream<any>;
        filePath?: string;
        overwrite?: boolean;
    }
    Index

    Properties

    contents?: ReadableStream<any>
    filePath?: string

    The absolute path of the file.

    overwrite?: boolean

    If true or unspecified, an existing file will be overwritten. If false, an error will be returned if the path points to an existing file.