Returns the version history of a file with the ID specified in the request.
Name | Description | Type | Example |
fileId
sent in url
|
File ID | number | 1234 |
doc
sent in body
|
Shared token | string | some text |
GET api/2.0/files/file/1234/edit/history Host: yourportal.onlyoffice.com Content-Type: application/json Accept: application/json { "doc": "some text" }
Version history data
{ "status": 0, "response": [ { "ID": 1234, "Key": "some text", "Version": 1234, "VersionGroup": 1234, "ChangesHistory": "some text", "ServerVersion": "some text" } ] }