diffRequest
Namespace: | http://www.gentics.com/rest |
XML Schema: | ns0.xsd |
Class representing a diff request sent to DiffResource. Encapsulates request data.
XML
Elements
name (type) | min/max occurs |
description |
---|---|---|
content1 (string) | 0/1 | Return the content1. |
content2 (string) | 0/1 | Return the content2. |
ignoreRegex (string) | 0/1 | Return the ignore regex that will be used to sanitize the content before the diff is invoked. |
changeTemplate (string) | 0/1 |
Return the change template.
{@code The following default template will be used when no template has been set: |
insertTemplate (string) | 0/1 |
Return the insert template.
{@code The following default template will be used when no template has been set: $insert } |
removeTemplate (string) | 0/1 |
Return the remove template.
The following default template will be used when no template has been set: {@code |
wordsBefore (int) | 0/1 | Return the number of words before the change to be shown. Default value: #DEFAULT_WORDS_BEFORE |
wordsAfter (int) | 0/1 | Return the amount of words that should be displayed after the actual diff. Default value: #DEFAULT_WORDS_AFTER |
JSON
property | type | description |
---|---|---|
content1 | content1 (string) | Return the content1. |
content2 | content2 (string) | Return the content2. |
ignoreRegex | ignoreRegex (string) | Return the ignore regex that will be used to sanitize the content before the diff is invoked. |
changeTemplate | changeTemplate (string) |
Return the change template.
{@code The following default template will be used when no template has been set: |
insertTemplate | insertTemplate (string) |
Return the insert template.
{@code The following default template will be used when no template has been set: $insert } |
removeTemplate | removeTemplate (string) |
Return the remove template.
The following default template will be used when no template has been set: {@code |
wordsBefore | wordsBefore (int) | Return the number of words before the change to be shown. Default value: #DEFAULT_WORDS_BEFORE |
wordsAfter | wordsAfter (int) | Return the amount of words that should be displayed after the actual diff. Default value: #DEFAULT_WORDS_AFTER |