Promote file version
Promote a specific version of a file.
If previous versions exist, this method can be used to promote one of the older versions to the top of the version history.
This creates a new copy of the old version and puts it at the top of the versions history. The file will have the exact same contents as the older version, with the same hash digest, etag, and name as the original.
Other properties such as comments do not get updated to their former values.
Don’t use this endpoint to restore Box Notes, as it works with file formats such as PDF, DOC, PPTX or similar.
Authorizations
Path Parameters
Query Parameters
A comma-separated list of attributes to include in the response. This can be used to request fields that are not normally returned in a standard response.
Be aware that specifying this parameter will have the effect that none of the standard fields are returned in the response unless explicitly specified, instead only fields for the mini representation are returned, additional to the fields requested.
Body
Response
Returns a newly created file version object.
A full representation of a file version, as can be returned from any file version API endpoints by default.
The display name of the user that uploaded the file. In most cases this is the name of the user logged in at the time of the upload.
If the file was uploaded using a File Request form that requires the user to provide an email address, this field is populated with that email address. If an email address was not required in the File Request form, this field is set to return a value of File Request.
In all other anonymous cases where no email was provided this field will default to a value of Someone.
"Ellis Wiggins"
