Skip to content

Latest commit

 

History

History
23 lines (19 loc) · 2.62 KB

Storage.md

File metadata and controls

23 lines (19 loc) · 2.62 KB

Class: Storage

Works around with Storage Buckets and files in Appwrite

Core

Method Name Usage Link
createBucket() Creates a new Storage Bucket in the Appwrite project. Example
getBucket() Fetches the bucket from the Appwrite project using the unique bucket ID. Example
listBuckets() Retrieves a list of all buckets in the Appwrite project. Example
updateBucket() Updates the Bucket in the Appwrite project with specific bucket ID. Example
deleteBucket() Deletes the Bucket in the Appwrite project with specific bucket ID. Example

Files

Method Name Usage Link
createFile() Creates the file from the local in the Appwrite project using the unique bucket ID. Example
getFile() Fetches the file from the bucket in the Appwrite project using the unique bucket ID. Example
getFileView() Fetches the file from the bucket in the Appwrite project using the unique bucket ID. Example
getFileDownload() Retrieves a file buffer for download from the buckets in the Appwrite project. Example
updateFile() Updates the file in the bucket of Appwrite project with specific bucket ID. Example
deleteFile() deletes the file in the bucket of Appwrite project with specific bucket ID. Example