Skip to content

Rest Api For Storage Questions/Suggestions #441

@dorryspears

Description

@dorryspears

Improve documentation

Link

https://supabase.github.io/storage/#

Describe the problem

  • 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.

Additional context

I am currently building a Rust wrapper for the Storage Product 🥳

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentation

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions