For AI agents: the documentation index is at llms.txt. Guide pages have a markdown version at the same path with .md appended, before any query string or fragment.
buckets table permissions: noneobjects table permissions: selectDownloadResponse as soon as the response headers arrive. Read the body once, with data() or write(to:).let data = try await supabase.storage
.from("avatars")
.download(path: "folder/avatar1.png")
.data()
let data = try await supabase.storage
.from("avatars")
.download(
path: "folder/avatar1.png",
options: DownloadOptions(
transform: ImageTransform(
width: 100,
height: 100,
quality: 80
)
)
)
.data()
try await supabase.storage
.from("avatars")
.download(path: "folder/avatar1.png")
.write(to: fileURL)