Lists all the files and folders within a path of the bucket.
buckets table permissions: noneobjects table permissions: selectThe folder path.
Search options including limit (defaults to 100), offset, sortBy, and search
const { data, error } = await supabase
.storage
.from('avatars')
.list('folder', {
limit: 100,
offset: 0,
sortBy: { column: 'name', order: 'asc' },
})
const { data, error } = await supabase
.storage
.from('avatars')
.list('folder', {
limit: 100,
offset: 0,
sortBy: { column: 'name', order: 'asc' },
search: 'jon'
})