List Directory Contents (Workspaces)
db_workspace_list(
path,
host = db_host(),
token = db_token(),
perform_request = TRUE
)Absolute path of the notebook or directory.
Databricks workspace URL, defaults to calling db_host().
Databricks workspace token, defaults to calling db_token().
If TRUE (default) the request is performed, if
FALSE the httr2 request is returned without being performed.
List the contents of a directory, or the object if it is not a directory.
If the input path does not exist, this call returns an error
RESOURCE_DOES_NOT_EXIST.
Other Workspace API:
db_workspace_delete(),
db_workspace_export(),
db_workspace_get_status(),
db_workspace_import(),
db_workspace_mkdirs()