Patch a node with the given node id in given section
PATCH/graph/:graph_id/node/:node_id/section/:section
Experimental: This API is not stable and might be subject of change.
Patch a node with the given node id in given section
Request​
Path Parameters
graph_id stringrequired
The identifier of the graph
Example: fix
section stringrequired
Possible values: [reported
, desired
, metadata
]
The name of the section used for all property paths. If not defined root is assumed.
node_id stringrequired
The identifier of the node
- application/json
Body
The partial object data to patch.
property name* any
Responses​
- 200
Return the patched 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...