[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: [OASIS Issue Tracker] (ODATA-1149) Support Delta responses for Singletons
[ https://issues.oasis-open.org/browse/ODATA-1149?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=69268#comment-69268 ] Ralf Handl commented on ODATA-1149: ----------------------------------- George: no array, just one "delta object" Ralf: need new context URL pattern to distinguish this from "full object" > Support Delta responses for Singletons > -------------------------------------- > > Key: ODATA-1149 > URL: https://issues.oasis-open.org/browse/ODATA-1149 > Project: OASIS Open Data Protocol (OData) TC > Issue Type: Bug > Components: JSON Format, Protocol > Affects Versions: V4.01_CS01 > Environment: [Proposed] > Reporter: Michael Pizzo > Fix For: V4.01_CS02 > > > 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. -- This message was sent by Atlassian JIRA (v6.2.2#6258)
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]