| box_version_history {boxr} | R Documentation |
Get version information
Description
Box uses file versioning, but the API does not explicitly provide version
numbers. These functions use modified_date as a proxy to determine a
version number (version_no), which you can use with box_dl() and
box_read().
Usage
box_version_history(file_id)
box_version_number(file_id)
Arguments
file_id |
|
Details
-
box_version_history(), previously calledbox_previous_versions(), gets information on all previous versions of a file. If there are no previous versions, this function returnsNULL. -
box_version_number()gets the version number of the most-recent version. To access the Box version API itself, you can use
box_version_api().
Value
box_previous_versions()-
data.framedescribing previous versions of file. box_version()-
integerversion number of most-recent version of file.
References
This function is a light wrapper of the
box.com API versions method.
https://developer.box.com/reference/get-files-id-versions/
See Also
box_version_api(), box_dl(), box_read()