You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
So Im trying to use some Storage methods in functions.
So Im trying to use GetFileDownload to finish my work on .net sample function for object detection.
From documentation it creates link like this:
/v1/storage/files/{fileId}/download
Have you spent some time to check if this issue has been raised before?
Yup.
To Reproduce
Call
var url = Storage.GetFileDownload("id")
Expected behavior
I'd either:
-get downloaded bytes (the OKeiest solution :D )
-get a request with api_key/projectId in headers and parameters(such as quality) as parameters
-get a string with everything as parameter
Actual Behavior
get a string with parameters but without projectID which is necessary to actually access the file we want.
Your Environment
Appwrite 0.9.1
Appwrite sdk for .net 0.2.0
The text was updated successfully, but these errors were encountered:
Hello.
So Im trying to use some Storage methods in functions.
So Im trying to use GetFileDownload to finish my work on .net sample function for object detection.
From documentation it creates link like this:
/v1/storage/files/{fileId}/download
for link generated by the Storage class:
http://localhost/v1/storage/files/60f85fa05c655/download?
I get a response :
"{"message":"Missing or unknown project ID","code":400,"version":"0.9.1"}"
BUT works for
http://localhost/v1/storage/files/60f85fa05c655/download?project=60f85f2973fd8
🐛 Bug Report
Have you spent some time to check if this issue has been raised before?
Yup.
To Reproduce
Call
var url = Storage.GetFileDownload("id")
Expected behavior
I'd either:
-get downloaded bytes (the OKeiest solution :D )
-get a request with api_key/projectId in headers and parameters(such as quality) as parameters
-get a string with everything as parameter
Actual Behavior
get a string with parameters but without projectID which is necessary to actually access the file we want.
Your Environment
Appwrite 0.9.1
Appwrite sdk for .net 0.2.0
The text was updated successfully, but these errors were encountered: