
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
- Relationships restricted to a max depth ...
When I do query like: ``` await _databases.listDocuments( databaseId: AppwriteConfig.DATABASE_ID, collectionId: AppwriteConfig.SERVICES_COLLECTI...
- Invalid credentials after migration
Hi everyone! After migrating our self-hosted Appwrite 1.3.1 to another server (staging, so a different domain), we are now getting 'Invalid credentials' when ...
- implement caching
It it possible to cache response for few minutes? I dont want to create function or implement a whole reverse server just to cache it in somewhere ?
