Backblaze · Arazzo Workflow
Backblaze Provision Bucket and Upload First File
Version 1.0.0
Authorize, create a bucket, get its upload URL, and upload the first file end to end.
Provider
Workflows
provision-bucket-and-upload
Create a bucket and upload the first file into it.
Authorizes the account, creates a new private bucket, obtains an upload URL for it, and uploads the first object.
1
authorize
authorizeAccount
Log in to the B2 API to obtain the accountId and authorization token used by the bucket and upload steps.
2
createBucket
createBucket
Create the new bucket that will hold the uploaded file.
3
getUploadUrl
getUploadUrl
Request an upload URL and token for the bucket that was just created, using the bucketId returned by the create step.
4
uploadFile
uploadFile
Upload the first file to the new bucket using the upload authorization token and the required X-Bz content metadata headers.