Add signUploadObjectUrls() for generating multiple signed upload URLs
#48680
Unanswered
NafeesMadni
asked this question in
Feature Requests
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Currently, Supabase Storage provides support for generating multiple signed download URLs through:
However, signed upload URLs are currently only supported for a single object through:
For applications that upload multiple files, developers need to generate signed upload URLs one by one. This results in multiple API calls and makes the Storage API inconsistent with the existing download URL workflow.
Would it make sense to introduce a bulk API:
similar to:
Expected behavior
The method would:
SIGNED_URL_SCOPE_UPLOAD).Example:
Possible response:
[ { "path": "user1/avatar.png", "signedURL": "/object/upload/sign/avatars/user1/avatar.png?token=..." }, { "path": "user2/avatar.png", "signedURL": "/object/upload/sign/avatars/user2/avatar.png?token=..." } ]Why this could be useful
Many applications support multi-file uploads (images, documents, attachments, etc.). A bulk signed upload URL API would:
I would appreciate feedback from the maintainers/community on whether this API fits the Storage design philosophy and if there are any concerns around permission checks, batching, or response format.
All reactions