Unique identifier of the bucket.
Optional
data: Partial<StorageBucket>Data to populate storage bucket with.
Name of the bucket.
Bucket description.
Size of the bucket in bytes.
Type of bucket (storage, hosting or NFT metadata)
Bucket content which are files and directories.
Protected
API_API url prefix for this class.
Unique identifier of the model.
The object's creation date
The date when the object was last updated
Gets contents of a bucket.
Optional
params: IStorageBucketContentRequestA a list of File and Directory objects.
Gets all files in a bucket.
Optional
params: IBucketFilesRequestquery filter parameters
List of files in the bucket
Uploads files inside a local folder via path.
Path to the folder to upload.
Optional
params: IFileUploadRequestOptional parameters to be used for uploading files
List of uploaded files with their properties
Uploads files to the bucket.
The files to be uploaded
Optional
params: IFileUploadRequestOptional parameters to be used for uploading files
Private
resolvePrivate
getList all IPNS records for this bucket
Optional
params: IPNSListRequestListing query filters
List of IPNS names in the bucket
Create a new IPNS record for this bucket
New IPNS instance
Protected
serializeGets and populates the object details of this entity
A new instance of this object
Protected
populatePopulates class properties via data object.
Data object.
Constructor which should only be called via Storage class.