API version:
  • 1.0
  • 1.1
  • 2.0

accounts/files/changes

Supported methods

GET

Files/changes list

GET: Listing of files that can be compared with a given file

https://api.context.io/2.0/accounts/<accountId>/files/<fileId>/changes

Files/changes instance

GET: Insertions and deletions between 2 revisions

https://api.context.io/2.0/accounts/<accountId>/files/<fileId>/changes/<fileId>

Given two files, this will return the list of changes made from the oldest of the two files to the newest one. This call can also be used to trigger the process of comparing two files by using the generate parameter.

Parameters

nametypedescription
optional:
generateintegerSet this parameter to 1 to trigger comparison of the specified documents. If the comparison between the two given files has already been calculated, this parameter is ignored and comparison will not be calculated a second time.

Do not set this parameter if you simply want to get changes without triggering anything.

Response body