b2ListFileVersions
lists all versions of all of the files contained in
one bucket, within a user's account on the Backblaze B2 cloud storage
product.
b2ListFileVersions(bucketId, startFileName = "", startFileId = "", maxFileCount = 100)
b2ListBuckets
function in this package.b2ListFileNames
function in this package.startFileName
must also be provided if startFileId
is specified.files
,
nextFileName
and nextFileId
for files within the specified
bucket. If greater than the maximum number of specified files in
maxFileCount
exists, further file versions may be obtained beginning
with nextFileName
, as the startFileName
parameter value. This
may be done either alone or in combination with nextFileId
, as
startFileId
. If successful a data frame will be returned, nested
within files
, containing fileId
, fileName
,
action
, size
and uploadTimestamp
for all file versions
within the specified bucket.
https://www.backblaze.com/b2/docs/b2_list_file_versions.html
bucketId
is mandatory and must be user defined. startFileName
,
startFileId
and maxFileCount
are optional and may be defined by the
user if so desired.
## Not run:
# b2ListFileVersions(bucketId = "aUniqueBucketId",
# startFileName = "yourFileName.png",
# startFileId = "yourFileId"
# maxFileCount = 500)
# ## End(Not run)
Run the code above in your browser using DataLab