Nodes
Add relationships between a Node and linked Nodes
Changed onAdd new linked nodes to the node, while keeping the existing ones intact.
Permissions - The authenticated user must have write permissions on the node.
Request Body - A data array containing additional node resource identifier objects to be added.
Returns - The updated list of linked nodes for the node.
post/nodes/{node_id}/relationships/linked_nodes/
Request
- Base URLhttps://api.test.osf.io/v2
- URLhttps://api.test.osf.io/v2/nodes/{node_id}/relationships/linked_nodes/
- Authnone declared
Path parameters
node_idstring required
The unique identifier of the node.
Request body
Example request
{
"data": [
{
"type": "nodes",
"id": "ghi789"
}
]
}Response
Successfully added linked nodes to the node.
Changes
- info
added the non-success response with the status
- info