You may specify a delimiter (usually "/") for folder names. If found after the file name prefix, the delimiter is treated as the end of a folder name, and the folder name is returned, replacing all of the files in that folder.
Each item returned is either an "upload" (a file) or a "folder" (representing one or many files).
Files returned will be limited to those within the top folder, or any one subfolder. Defaults to NULL. Folder names will also be returned.
The delimiter character will be used to "break" file names into folders.
Files returned will be limited to those with the given prefix. You can optionally specify a file name prefix, which will restrict the results to only files starting with that prefix.
The first file name to return. If there is a file with this name, it will be returned in the list. If not, the first file name after this the first one after this name.
Generated using TypeDoc
The maximum number of files to return from this call.
The default value is 100, and the maximum is 10000. To the API, Passing in 0 means to use the default of 100.
NOTE: b2_list_file_names is a Class C transaction (see Pricing).
The maximum number of files returned per transaction is 1000. If you set maxFileCount to more than 1000 and more than 1000 are returned, the call will be billed as multiple transactions, as if you had made requests in a loop asking for 1000 at a time.
For example: if you set maxFileCount to 10000 and 3123 items are returned, you will be billed for 4 Class C transactions.