Get Document - Changes

Note
Note:  The features listed in this page are working only with GroupDocs.Comparison Cloud V1

You can compare documents and update the changes (Accept/Reject)  by providing the JsonRequest Object data in request body.

Resource

The following GroupDocs.Comparison Cloud REST API resource has been used to get document (changes).

cURL example

curl -v  "https://api.groupdocs.cloud/v1.0/comparison/compareDocuments/changes/update?outPath#comparisons%2Foutput.docx&appsid#XXXX&signature#XXX-XX"
-H "Content-Type: application/json"
-X PUT -d  "{'sourceFile':{'folder':'comparisons','name':'source.docx','password':''},'targetFiles' [{'folder':'comparisons','name':'target.docx','password':''}],'settings
  ':{'generateSummaryPage':true,'showDeletedContent':true,'styleChangeDetection':true,'insertedItemsStyle':{'color':'Blue','beginSeparatorString':'','endSeparatorString':'','bold':false,'italic':false,'strikeThrough':false},'deletedItemsStyle':{'color':'Red','beginSeparatorString':'','endSeparatorString':'','bold':false,'italic':false,'strikeThrough':false},'styleChangedItemsStyle':{'color':'Green','beginSeparatorString':'','endSeparatorString':'','bold':false,'italic':false,'strikeThrough':false},'wordsSeparatorChars':[],'detailLevel':'Low','useFramesForDelInsElements':false,'calculateComponentCoordinates':false,'markDeletedInsertedContentDeep':false},'changes':[{'id':0,'action':'Accept'},{'id':1,'action':'Reject'}]}"
{
  "href": "https://api.groupdocs.cloud/storage/file/comparisons/output.docx",
  "rel": "self",
  "type": null,
  "title": null
}

SDK example

The API is completely independent of your operating system, database system or development language. We provide and support API SDKs in many development languages in order to make it even easier to integrate. You can see our available SDKs list here.

Get Document (Changes)