Is there a way to obtain the file url for a specific file. Currently I only see ways to get the actual file through the api, but I need the fileURL.
You can build the URL using the bucket id, file id, and project id.
cloud.appwrite.io/v1/storage/buckets/{bucket ID}/files/{file ID}/view?project={project ID}
thank you
can this be marked as solved now?
Recommended threads
- Bug Report: Appwrite Cloud Functions – E...
Bug Report: Appwrite Cloud Functions – ERR_INVALID_CHAR on Execution Summary: There is a critical platform-level bug affecting Appwrite Cloud Functions in the ...
- Creation failedUnknown sort order:asc. M...
Hi there, I'm getting this error on self hosted when trying to create an Index. Any ideas?
- I’m facing an issue with deployments on ...
Hi Appwrite Support, I’m facing an issue with deployments on Appwrite Sites. A few days ago (around 3–4 days back), everything was working perfectly. My deplo...