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
- [SOLVED] Error upgrading from 1.8.1 to 1...
DO Self-hosted server failed to upgrade with this error "Error response from daemon: client version 1.52 is too new. Maximum supported API version is 1.42". U...
- MariaDB refuses to connect to appwrite
Earlier, I tried updating my Appwrite version from 18.1.x to the latest release because my Flutter package required it to function properly. I used the official...
- executeFunction intermittently throws Fo...
Environment: Flutter app using the Appwrite Flutter SDK, calling executeFunction for [describe endpoint, e.g. live-stream-related function]. *Description*: Int...