ApplyRevisionsOptions

ApplyRevisionsOptions data structure defines options for applying revisions using “PUT” /comparison/revisions API method

ApplyRevisionsOptions example:


{
  'SourceFile': {
    'FilePath': 'source_files/word/source_with_revs.docx'
  },
  'Revisions': [
    {
      'Id': 0,
      'action': 'Accept'
    },
    {
      'Id': 1,
      'action': 'Accept'
    },
  ],
  'OutputPath': 'output/result.docx'
}
NameDescription
SourceFileInformation about source file
RevisionsArray of revision settings
OutputPathPath to the output document