You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For a lot of these endpoints in the link I have above, they have "wildcard" specified.
This seems ambiguous to me since this isn't a wild card in the sense that I can do something like this
to grab all of the text files within an object for the GET object/authenticated endpoint
*.txt
Unless it is and I am using it wrong.
Also, I am unsure where the user reading these docs would find the full endpoint. For example, there is the Supabase URL and the endpoints specified in the link above but there is still the storage/v1 part of the URL that the user still needs to find. Not sure where this is. I managed to find it in the source code here
The swagger docs are also unusable for executing any of the endpoints.
Describe the improvement
Change wildcard to path
Prepend storage/v1 to the endpoints
Make a REST API md file or some sort of other REST documenation.
Hi @dorryspears thanks a lot for your suggestions.
For a lot of these endpoints in the link I have above, they have "wildcard" specified.
This seems ambiguous to me since this isn't a wild card in the sense that I can do something like this
to grab all of the text files within an object for the GET object/authenticated endpoint
*.txt
The "wildcard" parameter in the url structure is meant to match any url segment past object/{bucket}/ for instance, if you want to store a file under the following key: {bucket}/one-folder/second-folder/file.png the wildcard parameter will be one-folder/second-folder/file.png maybe the name wildcard is a bit too generic, we could probably change that.
Also, I am unsure where the user reading these docs would find the full endpoint. For example, there is the Supabase URL and the endpoints specified in the link above but there is still the storage/v1 part of the URL that the user still needs to find. Not sure where this is. I managed to find it in the source code here
Relatedly, would be great to have the localhost URL documented somewhere.
What's the equivalent to https://${SUPABASE_PROJECT_ID}.supabase.co/storage/v1/upload/resumable on localhost? http://localhost:54323/storage/v1/upload/resumable gives a CORS error, so probably not the right endpoint?
Improve documentation
Link
https://supabase.github.io/storage/#
Describe the problem
This seems ambiguous to me since this isn't a wild card in the sense that I can do something like this
to grab all of the text files within an object for the
GET object/authenticated
endpointUnless it is and I am using it wrong.
storage/v1
part of the URL that the user still needs to find. Not sure where this is. I managed to find it in the source code hereDescribe the improvement
wildcard
topath
storage/v1
to the endpointsAdditional context
I am currently building a Rust wrapper for the Storage Product 🥳
The text was updated successfully, but these errors were encountered: