Summary
Deep Merge Data
Description
Merge data using extend
Route
No Northbound API Available
Roles
Parameters
DetailsExampleSchema
Name |
Type |
Required |
Description |
data_to_merge |
object |
yes |
Data to be merged |
Copied to Clipboard
{
"data_to_merge": [
{
"key": "mergedKey2",
"value": {
"task": "job",
"variable": {
"a": "b"
}
}
},
{
"key": "mergedKey2",
"value": {
"task": "static",
"variable": {
"a": "b"
}
}
}
]
}
Copied to Clipboard
{
"type": "object",
"properties": {
"data_to_merge": {
"title": "data_to_merge",
"type": "array",
"minItems": 2,
"items": {
"type": "object",
"properties": {
"key": {
"type": "string",
"examples": [
"mergedKey1",
"mergedKey2"
]
},
"value": {
"type": "object",
"properties": {
"task": {
"type": "string",
"enum": [
"job",
"static"
]
},
"variable": {
"type": [
"string",
"array",
"boolean",
"number",
"object"
],
"examples": [
{
"a": "b"
},
{
"c": "d"
}
]
}
}
}
}
}
}
},
"required": [
"data_to_merge"
],
"additionalProperties": false
}
Return
DetailsExampleSchema
Name |
Type |
Description |
merged_object |
object |
Merged Data Object |
Copied to Clipboard
{
"a": "b",
"c": "d"
}
Copied to Clipboard
{
"title": "merged_object",
"type": "object",
"properties": {},
"examples": [
{
"a": "b",
"c": "d"
}
]
}