Space SDK Package

Space SDK Package

  • Users
  • Storage
  • Space Docs

@spacehq/sdk > FileMetadata

FileMetadata interface

Represents metadata information about a file stored in users storage

Signature:

export interface FileMetadata 

Properties

PropertyTypeDescription
bucketKey?string(Optional)
bucketSlugstring
dbIdstring
encryptionKeystringAn 80 bytes encryption key used to encrypt and decrypt files content.32 bytes aes key + 16 bytes salt/IV + 32 bytes HMAC key It stored as a base32 multibase encoded string
mimeType?string(Optional)
pathstring
uuid?string(Optional)
  • FileMetadata interface
  • Properties
Space SDK Package
Docs
Getting StartedUsersStorage
Resources
All DocumentationProject SlackBlog
More
GitHubStar
Follow @spacestorage