PatchStrategy Enum
Strategy describing how merge-patch should be performed, i.e. what should be done with array elements of resource type.
Possible Values
#
delete
Specified resources will be deleted.
replace
All existing elements will be completely deleted and specified ones will be created from scratch.
No "update" operation is being made, so specifying any reference (e.g. _id
property) will cause 400 Bad Request.
This strategy is not supported by associations.
replaceMerge
Existing resources will be deleted if not specified and partially updated if specified. New resources will be created.
Note: in order to just retain an existing resource without performing an update,
a reference should be specified (e.g. JSON object with only _id
and _kind
properties) in an array.
retainMerge
Existing resources will be retained if not specified and partially updated if specified. New resources will be created.
PageableFeature