Skip to content

Commit

Permalink
#2 Add support for Remove Metadata (ITI-62)
Browse files Browse the repository at this point in the history
* Some documentation improvement
* Some validation fixes
  • Loading branch information
Thopap committed Mar 29, 2024
1 parent c24de7b commit c04ea08
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,9 @@ public Response remove(RemoveMetadata metadataToRemove) {

var docBundleResult = client.search().forResource(DocumentReference.class)
.withProfile(MappingSupport.MHD_COMPREHENSIVE_PROFILE)
.revInclude(DocumentReference.INCLUDE_RELATESTO)
.include(DocumentReference.INCLUDE_RELATESTO)
.revInclude(ListResource.INCLUDE_ITEM)
.revInclude(DocumentReference.INCLUDE_RELATED)
.where(DocumentReference.IDENTIFIER.exactly().systemAndValues(URI_URN,uuidsToDelete))
.returnBundle(Bundle.class)
.execute();
Expand Down

0 comments on commit c04ea08

Please sign in to comment.