I have full access to foo resource via REST:
{
\"name\": \"foo\",
\"tags\": [
\"tag01\",
\"tag02\",
\"tag03\"
]
}
I would lik
The payload of a PATCH
should contain "instructions describing how a resource currently residing on the origin server should be modified to produce a new version". All information should be passed in the payload and not in query-params.
For instance you could send:
PATCH /foo
[
{
"op": "remove",
"path": "/tags/0"
}
]
Path /tags/0
points to the first element of the array. The remaining elements should be shifted to the left.
See the JSON Patch draft for more details.