v1

latestSwagger 2.0Apache 2.02026-07-1334102.9 MB
Nodes

Replace relationships between a Node and its linked Nodes

Replace all existing linked nodes for a node with a new set of linked nodes.

Permissions - The authenticated user must have write permissions on the node.

Request Body - A data array containing the new list of node resource identifier objects (type and id).

Returns - The updated list of linked nodes for the node.

patch/nodes/{node_id}/relationships/linked_nodes/

Path parameters

node_idstring required

The unique identifier of the node.

Request body

Example request

{
  "data": [
    {
      "type": "nodes",
      "id": "abc123"
    },
    {
      "type": "nodes",
      "id": "def456"
    }
  ]
}

Response

Successfully replaced linked nodes for the node.