List Directory Contents (Workspaces)
Arguments
- path
Absolute path of the notebook or directory.
- host
Databricks workspace URL, defaults to calling
db_host()
.- token
Databricks workspace token, defaults to calling
db_token()
.- perform_request
If
TRUE
(default) the request is performed, ifFALSE
the httr2 request is returned without being performed.
Details
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.
See also
Other Workspace API:
db_workspace_delete()
,
db_workspace_export()
,
db_workspace_get_status()
,
db_workspace_import()
,
db_workspace_mkdirs()