Space SDK Package

Space SDK Package

  • Users
  • Storage
  • Space Docs

@spacehq/sdk > UserMetadataStore > createBucket

UserMetadataStore.createBucket property

Create a BucketSchema record with dbId belonging to the current user.

It should fail if a bucketSlug with similar dbId already exists.

Signature:

createBucket: (bucketSlug: string, dbId: string, bucketKey: string) => Promise<BucketMetadata>;
  • UserMetadataStore.createBucket property
Space SDK Package
Docs
Getting StartedUsersStorage
Resources
All DocumentationProject SlackBlog
More
GitHubStar
Follow @spacestorage