Summary
Diff two strings from a lookup.
Description
Lookup two strings and return a diff.
Route
PUT /configuration_manager/lookup_diff
Roles
admin
apiread
Parameters
DetailsExampleSchema
Name |
Type |
Required |
Description |
id |
string |
yes |
ID of the document. |
nextId |
string |
yes |
ID of the document or device name. |
collection |
string |
yes |
One of [backups, nodes, deviceGroups] |
nextCollection |
string |
yes |
One of [devices, backups, nodes, deviceGroups] |
options |
object |
no |
- |
Copied to Clipboard
{
"id": "5c35355dbebaa82eaf8113f0",
"nextId": "5c35355dbebaa82eaf8113f0",
"collection": "officia reprehenderit Lorem ea nostrud",
"nextCollection": "do quis Excepteur in",
"options": {
"type": false,
"clean": "consequat"
}
}
Copied to Clipboard
{
"type": "object",
"properties": {
"id": {
"title": "id",
"$ref": "common#/definitions/mongoObjectId"
},
"nextId": {
"title": "nextId",
"$ref": "common#/definitions/mongoObjectId"
},
"collection": {
"title": "collection",
"type": "string",
"minLength": 1
},
"nextCollection": {
"title": "nextCollection",
"type": "string",
"minLength": 1
},
"options": {
"title": "options",
"type": "object",
"properties": {
"type": {
"type": "boolean"
},
"clean": {
"type": "string"
}
},
"required": []
}
},
"required": [
"id",
"nextId",
"collection",
"nextCollection"
],
"additionalProperties": false
}
Return
DetailsExampleSchema
Name |
Type |
Description |
diffResult |
array |
- |
Copied to Clipboard
[
[
-1,
"version 16.12"
],
[
1,
"Building configuration..."
],
[
0,
"service timestamps debug datetime"
],
[
-1,
"msec"
],
[
0,
"localtime"
]
]
Copied to Clipboard
{
"title": "diffResult",
"type": "array",
"items": {
"type": "array"
},
"examples": [
[
[
-1,
"version 16.12"
],
[
1,
"Building configuration..."
],
[
0,
"service timestamps debug datetime"
],
[
-1,
"msec"
],
[
0,
"localtime"
]
]
]
}