public class ItemMetadataValueMovePatchOperation
extends MetadataValueMovePatchOperation<Item>
Submission "move" PATCH operation.
It is possible to rearrange the metadata values using the move operation. For
instance to put the 3rd author as 1st author you need to run:
curl -X PATCH http://${dspace.url}/api/submission/workspaceitems/<:id-workspaceitem> -H "
Content-Type: application/json" -d '[{ "op": "move", "from": "
/sections/traditionalpageone/dc.contributor.author/2", "path": "
/sections/traditionalpageone/dc.contributor.author/0"}]'
- Author:
- Luigi Andrea Pascarelli (luigiandrea.pascarelli at 4science.it)