Browse Bucket Files
A 4-step recipe with Backblaze. We can help you get access.
Recipe · 4 steps
Browse Bucket Files
with Backblaze
List buckets, list a bucket's files, and inspect the first file.
- Log in to the B2 API to obtain the accountId and authorization token.
- List the buckets owned by the authorized account.
- List the file names contained in the target bucket, returning at most the requested number of files.
- Fetch the full metadata for the first file returned by the listing using its fileId.
What you'll need to have ready
- bucketId: The bucket whose file names should be listed.
- maxFileCount: Maximum number of file names to return (1-10000).
For your developer
Arazzo workflow backblaze:browse-bucket-files, 4 operations: authorizeAccount → listBuckets → listFileNames → getFileInfo. Specs on APIs.io.