-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: V4.01_CS01
-
Fix Version/s: V4.01_CS02
-
Component/s: JSON Format, Protocol
-
Labels:None
-
Environment:
Applied
-
Proposal:
-
Resolution:
Today we are a bit unclear about whether or not deltas are supported for singletons.
In 11.3 Requesting Changes of the Protocol document, we say:
"Any GET request to retrieve one or more entities MAY allow change-tracking."
However, in 15.1 Delta Response of the JSON document we say:
"Responses from a delta request are returned as a JSON object. The JSON object MUST contain an array-valued property named value containing all added, changed, or deleted entities, as well as added links or deleted links between entities, and MAY contain additional, unchanged entities."
The wording from the JSON spec makes sense for 4.0, since changes to related entities and links were represented in a flattened result, but with the ability to represent nested related content, it is useful to support a delta payload (GET or PATCH) for requests anchored on a single node.