Opinionated Backblaze B2 Client.
The native Backblaze B2 API is somewhat unspecified in places, or even incorrect in their docs. If you encounter any errors make sure to report them and they will be fixed.
- Simple API making use of Rust's ownership for API constraints
- Automatic re-authentication and refreshing of Upload URLs
fs
(enables optimized routine for uploading from filesystem)pool
(enabled non-largeUploadURL
object pool for reuse)reqwest_compression
(enables deflate/gzip features onreqwest
)large_buffers
(enables large buffer support, 64KiB instead of 8KiB)
Do not include Protected Health Information (PHI) or Personally Identifiable Information (PII) in bucket names; object, file, or folder names; or other metadata. This metadata is not encrypted in a way that meets Health Insurance Portability and Accountability Act (HIPAA) protection requirements for PHI/PII data, and it is not generally encrypted in client-side encryption architectures.
-
b2_authorize_account
-
b2_cancel_large_file
-
b2_copy_file
-
b2_copy_part
-
b2_create_bucket
-
b2_create_key
-
b2_delete_bucket
-
b2_delete_file_version
-
b2_delete_key
-
b2_download_file_by_id
-
b2_download_file_by_name
-
b2_finish_large_file
-
b2_get_download_authorization
-
b2_get_file_info
-
b2_get_upload_part_url
-
b2_get_upload_url
-
b2_hide_file
-
b2_list_buckets
-
b2_list_file_names
-
b2_list_file_versions
-
b2_list_keys
-
b2_list_parts
-
b2_list_unfinished_large_files
-
b2_start_large_file
-
b2_update_bucket
-
b2_update_file_legal_hold
-
b2_update_file_retention
-
b2_upload_file
-
b2_upload_part
Missing API endpoints will be filled in over time.