i have made a wallpaper application that should now work with appwrite instead of firebase
so: i want to get all files of a storage bucket and i also need a url of every file which can be used to directly access the image.
I dont want to do it with jwt because my app will just use the anonymous authentication method. How can i realize that?
currently i am just able to get all file objects but the "File" model does not include a url
I believe it should return the bucketId and $id among other attributes, you can use these to create the link yourself. The link is in this format: https://cloud.appwrite.io/v1/storage/buckets/BUCKET_ID/files/FILE_ID/view?project=PROJECT_ID
Even if someone is authenticating anonymously you'd still need to pass through the jwt, and in your bucket you'd have to set permissions to be something like this.
Recommended threads
- Self-Hosted and Multi Region support
Hey Appwrite Team, As a test and to expand self-hosted capabilities even more, i was thinking of understanding and testing how to deploy a multi-region instanc...
- Appwrite rejecting create and edit reque...
hello, so my issue is that when i make a debug build of my app, everything works as it should, but when i download and test a SIGNED release database rejects al...
- How to use dart workspaces to deploy a f...
Hello, I'm developing a Flutter application and I would like to leverage dart pub workspaces to deploy a function with a dart runtime as advertised here : http...