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