Databricks SDK for JavaScript
    Preparing search index...
    interface ExportRequest {
        directDownload?: boolean;
        format?: ExportFormat;
        path?: string;
    }
    Index

    Properties

    directDownload?: boolean

    Flag to enable direct download. If it is true, the response is the exported file itself. Otherwise, by default, the response contains content in the form of a base64 encoded string.

    format?: ExportFormat

    This specifies the format of the exported file. By default, this is SOURCE.

    The value is case sensitive.

    • SOURCE: The notebook is exported as source code. Directory exports will not include non-notebook entries.
    • HTML: The notebook is exported as an HTML file.
    • JUPYTER: The notebook is exported as a Jupyter/IPython Notebook file.
    • DBC: The notebook is exported in archive format. Directory exports will not include non-notebook entries.
    • R_MARKDOWN: The notebook is exported to R Markdown format.
    • AUTO: The object or directory is exported depending on the objects type. Directory exports will include notebooks and workspace files.
    path?: string

    The absolute path of the object or directory. Exporting a directory is only supported for the DBC, SOURCE, and AUTO format.