Skip to content

Lantern-chat/yab2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

45 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Yet Another Backblaze B2 Client

crates.io Documentation MIT/Apache-2 licensed

Opinionated Backblaze B2 Client.

Disclaimer

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.

Features

  • Simple API making use of Rust's ownership for API constraints
  • Automatic re-authentication and refreshing of Upload URLs

Cargo Features

  • fs (enables optimized routine for uploading from filesystem)
  • pool (enabled non-large UploadURL object pool for reuse)
  • reqwest_compression (enables deflate/gzip features on reqwest)
  • large_buffers (enables large buffer support, 64KiB instead of 8KiB)

WARNING

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.

API Coverage

  • 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.

About

Yet Another Backblaze B2 Client

Resources

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-Apache
MIT
LICENSE-MIT

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages