Summary
diff to HTML
Description
Difference between two values in HTML response
Route
POST /workflow_engine/diffToHTML
Roles
admin
Parameters
Details Example Schema
Name
Type
Required
Description
label1
string
no
Optional label for value1
value1
string
yes
Any value to diff against value2
label2
string
no
Optional label for value2
value2
string
yes
Any value to diff against value1
Copied to Clipboard
{
"value1": "config\n stuff \nline 3 \ntoday was a good day",
"value2": "configuration\n stuff \nline 222 \ntoday is a good day",
"label1": "pre",
"label2": "post"
}
Copied to Clipboard
{
"type": "object",
"properties": {
"label1": {
"title": "label1",
"type": "string",
"examples": [
"pre"
]
},
"value1": {
"title": "value1",
"type": "string",
"examples": [
"config\n stuff \nline 3 \ntoday was a good day"
]
},
"label2": {
"title": "label2",
"type": "string",
"examples": [
"post"
]
},
"value2": {
"title": "value2",
"type": "string",
"examples": [
"configuration\n stuff \nline 222 \ntoday is a good day"
]
}
},
"required": [
"value1",
"value2"
],
"additionalProperties": false
}
Return
Details Example Schema
Name
Type
Description
result
string
HTML difference between value1 and value2
Copied to Clipboard
"config configuration \n 3 222 \n was is "
Copied to Clipboard
{
"title": "result",
"type": "string",
"examples": [
"config configuration \n 3 222 \n was is "
]
}