OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help

odata message

[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

Michael Pizzo created ODATA-1149:

             Summary: 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

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]