Databricks SDK for JavaScript
    Preparing search index...

    Interface ListDirectoryContentsRequest

    List directory contents

    interface ListDirectoryContentsRequest {
        directoryPath?: string;
        pageSize?: bigint;
        pageToken?: string;
    }
    Index

    Properties

    directoryPath?: string

    The absolute path of a directory.

    pageSize?: bigint

    The maximum number of directory entries to return. The response may contain fewer entries. If the response contains a next_page_token, there may be more entries, even if fewer than page_size entries are in the response.

    We recommend not to set this value unless you are intentionally listing less than the complete directory contents.

    If unspecified, at most 1000 directory entries will be returned. The maximum value is 1000. Values above 1000 will be coerced to 1000.

    pageToken?: string

    An opaque page token which was the next_page_token in the response of the previous request to list the contents of this directory. Provide this token to retrieve the next page of directory entries. When providing a page_token, all other parameters provided to the request must match the previous request. To list all of the entries in a directory, it is necessary to continue requesting pages of entries until the response contains no next_page_token. Note that the number of entries returned must not be used to determine when the listing is complete.