Get version history

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

Request

Returns the version history of a file with the ID specified in the request.

Headers

Acceptenum of string

Can be one of: application/json, text/json, text/plain.

Path

fileIdintegerformat: int32required

Examples

GET /api/2.0/files/file/1298/edit/history HTTP/1.1
Accept: application/json
Host: example.com
curl --request GET \
  --url https://example.com/api/2.0/files/file/1298/edit/history \
  --header 'Accept: application/json'

Responses

200

Version history data

idintegerformat: int32
keystring
versionintegerformat: int32
versionGroupintegerformat: int32
userobject
idstring
namestring
createdobject
utcTimestringformat: date-time
timeZoneOffsetstringformat: date-span
changesHistorystring
changesarray of unknown
serverVersionstring

Get Help

  • If you have any questions about ONLYOFFICE DocSpace, try the FAQ section first.
  • You can request a feature or report a bug by posting an issue on GitHub.
  • You can also ask our developers on ONLYOFFICE forum (registration required).