GroupDocs.Comparison Cloud provides an ability to apply or discard specific changes between source and target files and save result with (or without) selected changes.
Changes - List of changes that must be applied (or not) to the resulting document; The following code sample shows how to accept/reject changes.
API usage There are steps that usage of GroupDocs.Comparison Cloud consists of:
Upload input documents into cloud storage Compare documents or get document info Download comparison result document from storage Steps 1 and 3 are storage operations, please refer to this File API documentation for usage details.... setChanges ( changes ); Link response = apiInstance . putChangesDocument...console . log ( "Output file link: " + response . href ); } catch...