Returns a list of files and folders in the account. Use the resource query parameter to indicate the folder you wish to search in (which can be /).
Searching for Files and Folders
Using the name parameter triggers search mode, which will search the entire directory structure under the provided resource for files or folders with names matching the provided name. This supports wildcard matching such as:
- *Report* would find any files or folders with "Report" in the name.
- Data_202?-09-30.xlsx would match items such as "Data_2020-09-30.xlsx", "DATA_2021-09-30.xlsx", "data_2022-09-30.xlsx" etc.
- sales* would find any files or folders starting with the word "Sales"
- *.csv would locate any files ending in ".csv"
- * matches everything within the directory tree starting at your given
resource
The search is not case-sensitive. Searching for Clients* or clients* or CLIENTS*, etc. will provide identical results
If you are using the name parameter to run a search, the type parameter will be ignored by the server.