JavaScript: List all files in a bucket

Lists all the files and folders within a path of the bucket.

Important: For folder entries, fields like id, updated_at, created_at, last_accessed_at, and metadata will be null. Only files have these fields populated. Additionally, deprecated fields like bucket_id, owner, and buckets are NOT returned by this method.

Parameters