box.com explicitly versions files. box_previous_versions returns a data.frame() containing information on a file's previous versions on box.com. No information about the current version of the file is returned.

box_previous_versions(file_id)

Arguments

file_id

the id of the file you'd like version information about

Value

A data.frame() containing information about previous versions of the file (if available). Importantly, it contains the file_version_id, which can be passed to box_dl().

References

This function is a light wrapper for box.com API's versions method.

https://developers.box.com/docs/#files-view-versions-of-a-file

See also