Date: 18.01.2021
accepted
We want to allow partial or merge updates of things with a single request.
A merge request
PATCH
method.content-type
set to application/merge-patch+json
.The merge requests in JSON merge patch format have a structure similar (except null
values) to the original data structure (Thing JSON) which makes them easy and intuitive to use. The JSON merge patch approach was chosen over the JSON Patch format, which allows a more fine-grained control over the change
operations but is also more complex/verbose and less user-friendly.