create_relationships

mutationSince v1.0

Create relationships between existing nodes. Both source and target must exist. The relationship type must exist in the metamodel and have an allowed connection defined for the given source/target node types.

Example Request

{"relationships": [{"relationship_type": "depends_on", "source_node_id": "uuid-1", "target_node_id": "uuid-2", "label": "optional label"}]}

Example Response

{"success": true, "operation_count": 1, "versions": [54]}