List site files
list_site_filesLists one folder of a customer's SHARED hosting site's web root (the files the site serves): name, type (file / dir / symlink), size. Start at the root (no path) and go down one folder at a time. Use before read_site_file / write_site_files so paths are real. Hidden files and anything outside the web root are never shown. Read-only.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | Folder path relative to the web root, e.g. "assets". Empty for the root. | |
| domain | Yes | The hosted site's domain. |