merge_nodes

mutationSeit v1.0

Merge duplicate nodes into a single node. All relationships from merged nodes are redirected to the kept node. The merged nodes are then deleted. Use find_similar_nodes to identify candidates.

Parameter

NameTypPflichtfeldStandardBeschreibung
keep_node_idString[merge_nodes] UUID of the node to keep after the merge. Required.

Beispielanfrage

{"keep_node_id": "uuid-1", "merge_node_ids": ["uuid-2", "uuid-3"], "property_strategy": "keep_longest"}

Beispielantwort

{"success": true, "operation_count": 5, "versions": [49, 50, 51, 52, 53]}