Files
Torsten Dittmann ab74f8efb0 add all docs
2021-11-25 14:07:19 +01:00

245 B

const sdk = new Appwrite();

sdk .setEndpoint('https://[HOSTNAME_OR_IP]/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ;

let result = sdk.storage.getFileView('[FILE_ID]');

console.log(result); // Resource URL