Returns the detailed information about all the available file versions with the ID specified in the request.
Name | Description | Type | Example |
fileId
sent in url
|
File ID | number | 1234 |
GET api/2.0/files/file/1234/history Host: yourportal.onlyoffice.com Content-Type: application/json Accept: application/json
Information about file versions: folder ID, version, version group, content length, pure content length, file status, URL to view a file, web URL, file type, file extension, comment, encrypted or not, thumbnail URL, thumbnail status, locked or not, user ID who locked a file, denies file downloading or not, denies file sharing or not, file accessibility
{ "status": 0, "response": [ { "FolderId": 1234, "Version": 1234, "VersionGroup": 1234, "ContentLength": "some text", "PureContentLength": 1234, "Mute": true, "ViewUrl": "some text", "WebUrl": "some text", "FileExst": "some text", "Comment": "some text", "Encrypted": true, "ThumbnailUrl": "some text", "Locked": true, "LockedBy": "some text", "DenyDownload": true, "HasDraft": true, "DenySharing": true } ] }