Create a new node under the given parent node
POST/graph/:graph_id/node/:node_id/under/:parent_node_id
Create a new node under the given parent node.
Request​
Path Parameters
graph_id stringrequired
The identifier of the graph
Example: fix
node_id stringrequired
The identifier of the node
parent_node_id stringrequired
The identifier of the parent node
- application/json
Body
The node document to create.
kind string
The kind of this node.
property name* any
Responses​
- 200
Return the created node
- application/json
- Schema
- Example (from schema)
Schema
kind string
The kind of this node.
property name* any
{
"id": "123456",
"reported": {
"kind": "test.person",
"name": "Batman",
"city": "Gotham"
}
}
Loading...