Summary
MOP Diff Array
Description
Generates a diff for the input. By default, the API call timeout is 5 minutes for the platform. If this API call needs additional time, it can be modified in the Express timeout property. The supported timeout range would be a minimum of 8 minutes for a 2MB payload and a maximum of 32 minutes for a 4MB payload.
Route
POST /mop/runTemplatesDiffArray
Roles
admin
engineering
support
apiwrite
Parameters
Details Example Schema
Name
Type
Required
Description
pre
array
yes
-
post
array
yes
-
Copied to Clipboard
{
"pre": [
"show version",
"show version",
"show version",
"show version",
"show version"
],
"post": [
"show version",
"show version",
"show version",
"show version"
]
}
Copied to Clipboard
{
"type": "object",
"properties": {
"pre": {
"title": "pre",
"type": "array",
"items": {
"type": "string",
"examples": [
"show version"
]
}
},
"post": {
"title": "post",
"type": "array",
"items": {
"type": "string",
"examples": [
"show version"
]
}
}
},
"required": [
"pre",
"post"
],
"additionalProperties": false
}
Return
Details Example Schema
Name
Type
Description
diff
object
-
Copied to Clipboard
{
"title": "diff",
"type": "object",
"properties": {
"onlyPre": {
"type": "object",
"properties": {}
},
"diff": {
"type": "object",
"properties": {}
},
"onlyPost": {
"type": "object",
"properties": {}
},
"analytics": {
"type": "object",
"properties": {}
}
}
}