GET api/2.0/files/file/{fileId}/edit/diff

Description

Returns a URL to the changes of a file version specified in the request.

Parameters
Name Description Type Example
fileId
sent in url
File ID number 1234
version
sent in url
File version number 1234
doc
sent in url
Shared token string some text
Example
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"
}
Returns

File version history data

Example Response
{
  "status": 0,
  "response": {
    "ChangesUrl": "some text",
    "Key": "some text",
    "Token": "some text",
    "Url": "some text",
    "Version": 1234,
    "FileType": "some text"
  }
}