B2File Type
A Backblaze B2 file.
Remarks
This type represents a Backblaze B2 file.
Fields
bucketId String |
The Id of the bucket that the file is in. This property reflects the Id of the bucket that the file is in. | ||||||||
contentType String |
The content type of the file. This property reflects the content type of the file. Always application/x-bz-hide-marker when Kind is hide; and empty when Kind is folder. | ||||||||
createdTime Int64 |
The file's creation time. This property reflects the file's creation time, in milliseconds relative to the Unix epoch. Always 0 when Kind is folder. | ||||||||
id String |
The Id of the file. This property reflects the Id of the file. Always empty when Kind is folder. | ||||||||
kind String |
The kind of file. This property reflects the file's kind. Possible values are:
| ||||||||
md5Hash String |
An MD5 hash of the file's contents. This property reflects a hex-encoded MD5 hash of the file's contents, or empty string if such a hash is not available. | ||||||||
modifiedTime Int64 |
The file's last modified time. This property reflects the file's last modified time, in milliseconds relative to the Unix epoch. Note that this property will only be populated if a src_last_modified_millis metadata item is included for the file, and if that metadata item's value can be parsed as a 64-bit integer; otherwise, it will be -1. Refer to the ClientModifiedTime configuration setting for more information. | ||||||||
name String |
The name of the file. This property reflects the name of the file. | ||||||||
sha1Hash String |
A SHA1 hash of the file's contents. This property reflects a hex-encoded SHA1 hash of the file's contents, or empty string if such a hash is not available. Always empty if Kind is folder or hide. | ||||||||
size Int64 |
The file's size. This property reflects the file's size, in bytes. Always 0 when Kind is folder, hide, or start. |