Models

Auth

class backblaze.models.auth.AllowedModel
bucket_id
Type

str

bucket_name
Type

str

capabilities
Type

str

prefix
Type

str

class backblaze.models.auth.AuthModel
minimum_part_size
Type

int

recommended_part_size
Type

int

account_id
Type

int

allowed
Type

AllowedModel

api_url
Type

str

authorization_token
Type

str

download_url
Type

str

Bucket

class backblaze.models.bucket.LifecycleModel
hiding_to_delete
Type

int

uploading_to_hide
Type

int

prefix
Type

str

class backblaze.models.bucket.CorModel
name
Type

str

origins
Type

list

allowed_headers
Type

list

operations
Type

list

expose_headers
Type

list

max_age
Type

int

class backblaze.models.bucket.BucketModel
bucket_id
Type

str

name
Type

str

type
Type

str

info
Type

str

revision
Type

str

options
Type

list

lifecycle
Type

list

for ... in cors()Generator[backblaze.models.bucket.CorModel, None, None]

Lists cors on server.

Yields

CorModel – Holds data on cors.

File

class backblaze.models.file.FileModel
account_id
Type

str

action
Type

str

bucket_id
Type

str

content_length
Type

int

content_sha1
Type

str

content_md5
Type

str

content_type
Type

str

file_id
Type

str

file_info
Type

str

file_name
Type

str

timestamp
Type

datetime

class backblaze.models.file.FileDeleteModel
file_id
Type

str

file_name
Type

str

class backblaze.models.file.PartModel
file_id
Type

str

part_number
Type

int

content_length
Type

int

content_sha1
Type

str

content_md5
Type

str

timestamp
Type

datetime

class backblaze.models.file.UploadUrlModel
authorization_token
Type

str

upload_url
Type

str

file_id
Type

str

bucket_id
Type

str

class backblaze.models.file.PartCancelModel
file_id
Type

str

account_id
Type

str

bucket_id
Type

str

file_name
Type

str

Key

class backblaze.models.key.KeyModel
key_name
Type

str

application_key_id
Type

str

capabilities
Type

list

account_id
Type

str

expires

Not always given, may be None.

Type

datetime

bucket_id
Type

str

name_prefix
Type

str

options
Type

list