Keep Source in Modify for consistancy ?

Hi there and particularly for Sebastien,

I would suggest a small change of the Modify APIs,

The new APIs Split / Marge have a KeepSource boolean to keep or remove the original Orthanc Ressources.

These APIs sounds to work similarly to the Modify API, they generate a new ressource with new IDs / UIDs.

I think it would be great if we can get this boolean in /Modify API as well, this will keep consistancy in these Modifications features of Orthanc (and will simplify my work for OrthancToolsJS)

Best regards,


Hello Salim,

Thanks for the suggestion. I have implemented this feature through the following changeset:


Thank you so much S├ębastien, so helpful as usual,

Best regards