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
- Apple OAuth Scopes
Hi Hi, I've configured sign in with apple and this is the response i'm getting from apple once i've signed in. I cant find anywhere I set scopes. I remember se...
- Sign In With Apple OAuth Help
Hi All! I've got a flutter & appwrite app which Im trying to use sign in with apple for. I already have sign in with google working and the function is the sam...
- custom domain with CloudFlare
Hi all, it seems that CloudFlare has blocked cross-domain CNAME link which made my app hostname which is in CloudFlare, unable to create a CNAME pointing to clo...