Class LicenseAddPatchOperation


  • public class LicenseAddPatchOperation
    extends AddPatchOperation<String>
    Submission "add" PATCH operation To accept/reject the license. Example: curl -X PATCH http://${dspace.server.url}/api/submission/workspaceitems/31599 -H "Content-Type: application/json" -d '[{ "op": "add", "path": "/sections/license/granted", "value":"true"}]' Please note that according to the JSON Patch specification RFC6902 a subsequent add operation on the "granted" path will have the effect to replace the previous granted license with a new one.
    Author:
    Luigi Andrea Pascarelli (luigiandrea.pascarelli at 4science.it)