Submission "replace" PATCH operation.
The replace operation allows to replace existent information with new one.
Attempt to use the replace operation to set not yet initialized information
must return an error.
Example:
curl -X PATCH http://${dspace.url}/api/submission/workspaceitems/<:id-workspaceitem> -H "
Content-Type: application/json" -d '[{ "op": "replace", "path": "
/sections/traditionalpageone/dc.title/0", "value": {"value": "Add new
title", "language": "en"}}]'
It is also possible to change only a single attribute of the
MetadataValueRest (except the "place").
Example:
curl -X PATCH http://${dspace.url}/api/submission/workspaceitems/<:id-workspaceitem> -H "
Content-Type: application/json" -d '[{ "op": "replace", "path": "
/sections/traditionalpageone/dc.title/0/language", "value": "it"}]'