Revert File to version
Publish a new version of a File whose content copies an earlier version. The earlier version stays in the File’s history and the new version becomes current. expectedVersionId must be the File’s current version; the revert is rejected if another version has been published since. Reverting to the current version is rejected.
Authentication
AuthorizationBearer
Bearer authentication of the form Bearer <token>, where token is your auth token.
Path parameters
file_id
ID of the File.
Request
This endpoint expects an object.
expectedVersionId
fileVersionId
Response
OK
__typename
archiveReason
archived
createdAt
creator
currentVersionId
customFields
displayId
folder
id
modifiedAt
name
scratchFile
versions
Published versions of the File, newest first.
externalFileIdDeprecated
Use scratchFile to access externalFileId.
filenameDeprecated
Use scratchFile to access filename.
mimeTypeDeprecated
Use scratchFile to access mimeType.
Errors
400
Bad Request Error
403
Forbidden Error
404
Not Found Error
409
Conflict Error
429
Too Many Requests Error
500
Internal Server Error