Summary
MOP Diff Array
Description
Generates a diff for the input
Route
POST /mop/runTemplatesDiffArray
Roles
admin
engineering
support
apiwrite
Parameters
DetailsExampleSchema
Name |
Type |
Required |
Description |
pre |
array |
yes |
- |
post |
array |
yes |
- |
Copied to Clipboard
{
"pre": [
"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
DetailsExampleSchema
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": {}
}
}
}