-
Type:
Bug
-
Resolution: Fixed
-
Priority:
Major
-
Affects Version/s: V4.01_CSD01
-
Component/s: Protocol
-
None
-
Environment:
Applied
As of 4.01 we support PATCH to a collection of entities. The PATCH is either interpreted as a set operation (if the payload is a single entity) or applied as a delta payload (if the payload has a context URL of #$delta.
Rather than distinguishing on payload, what if we said that PATCH to a collection of entities is always interpreted as an operation on the set as a whole, and a new path segment /$each is used for an atomic operation on each of the entities, especially DELETE, and PATCH with a single-instance payload.