Hi All,

I am current testing the REST API PATCH on /items end point to replace the 
whole field with new list. I am trying to replace dc:subject with a new 
list. For example:

The Item has three dc:subject: keyword1, keyword2 keyword3.
Using the json below to replace the whole dc:subject.
The result show only the first value has been added dc:subject: test1 
[
  {
    "op": "replace",
    "path": "/metadata/dc.subject",
    "value":[
        {"value" : "test1"},
        {"value" : "test2"},
        {"value" : "test3"}
    ]    
  }
]
Can we replace the whole field? What is the issue on the json above?

I have tried to test with full properties (language,authority,place), and 
still show the same behavior.


Best regards,

Harry


-- 
All messages to this mailing list should adhere to the Code of Conduct: 
https://www.lyrasis.org/about/Pages/Code-of-Conduct.aspx
--- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion visit 
https://groups.google.com/d/msgid/dspace-tech/c79c4680-9394-4bf9-b262-5d1846b3d9e3n%40googlegroups.com.

Reply via email to