Home > @hapoosjs/api-buckets > Buckets > getFileMetadata

Buckets.getFileMetadata() method

Get file metadata

Signature:

getFileMetadata(bucketName: string, filePath: string): Promise<BucketFileMetadata>;

Parameters

Parameter Type Description
bucketName string Bucket name
filePath string File key or fully qualified path

Returns:

Promise<BucketFileMetadata>