b2ListFileVersions: List B2 File Versions.

Description Usage Arguments Details Value Examples


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)



The unique identifier of the bucket containing the files to be listed. Bucket IDs may be obtained through the b2ListBucketsfunction in this package.


The name of the file from which the list will start. If there are no files with this name, the first version of the file with the first name after the given name will be the first in the list. This is an optional parameter. Not defining this parameter will result in the list starting from the newest file first. File names may be obtained through the b2ListFileNames function in this package.


The first file ID to return. This is an optional parameter. startFileName must also be provided if startFileId is specified.


An integer defining the maximum number of file names to return. This is an optional parameter and defaults to 100. The maximum acceptable value is 1000.


This function lists all versions of all of the files contained in one bucket, within a user's account on the Backblaze B2 cloud storage product. Files will be listed in alphabetical order by file name, and by reverse of date/time uploaded for versions of files with the same name. Further details regarding this API call are available here:


bucketId is mandatory and must be user defined. startFileName, startFileId and maxFileCount are optional and may be defined by the user if so desired.


If successful a list will be returned containing 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.


## Not run: 
b2ListFileVersions(bucketId = "aUniqueBucketId",
startFileName = "yourFileName.png",
startFileId = "yourFileId"
maxFileCount = 500)

## End(Not run)

Search within the backblazer package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.