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