rest-api
rest-api copied to clipboard
feature: Add a `replace` parameter for single node additions
This provides an "atomic" way of performing a replacement on a node without having to make two separate rest calls.
Unsure if there is potentially a better solution, or more value in having a /replace endpoint with a parameter to pick the equality predicate. However, I think this is good as a nice addition for atomic remove/add for most use cases now.