Patch a list of nodes.
PATCH/graph/:graph_id/nodes
Apply a patch on existing nodes. Non existing nodes are not updated! Consider to stream the request body as new line delimited json (application/x-ndjson).
Request​
Path Parameters
graph_id stringrequired
The identifier of the graph
Example: fix
- application/x-ndjson
- application/json
Body
The partial object data to patch.
id string
The identifier of the node.
reported
object
property name* any
desired
object
property name* any
metadata
object
property name* any
Body
The partial object data to patch.
Array [
]
id string
The identifier of the node.
reported
object
property name* any
desired
object
property name* any
metadata
object
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...