Collections
Link Nodes to Collection
This endpoint allow users to a add a node to a collection by issuing a POST request.
Permissions
This returns all public nodes associated with this collection.
Returns
Returns a JSON object containing data and links keys.
The data key contains an array of comment objects. Each resource in the array is a separate comment object.
The links key contains a dictionary of links that can be used for pagination.
post/collections/{collection_id}/linked_nodes/relationships/
Path parameters
collection_idstring required
A short id for that collection
Request body
object required
Example request
{
"data": [
{
"type": "linked_nodes",
"id": "guid0"
},
{
"type": "linked_nodes",
"id": "newid"
},
{
"type": "linked_nodes",
"id": "test2"
},
{
"type": "linked_nodes",
"id": "guid4"
}
]
}Response
Created