Uploaded image for project: 'OASIS Open Data Protocol (OData) TC'
  1. OASIS Open Data Protocol (OData) TC
  2. ODATA-645

Default for PUT/PATCH is not to return data

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: V4.0_OS
    • Fix Version/s: V4.0_ERRATA01
    • Component/s: Protocol
    • Labels:
      None
    • Environment:

      [Applied]

    • Proposal:
      Hide

      Clarify in "Update an Entity" that, in the absence of a return=minimal preference, services SHOULD return data.
      Also rephrase 8.2.8.7 to express that return=representation returns a complete representation of the targeted resource (not necessarily an entity).

      Show
      Clarify in "Update an Entity" that, in the absence of a return=minimal preference, services SHOULD return data. Also rephrase 8.2.8.7 to express that return=representation returns a complete representation of the targeted resource (not necessarily an entity).

      Description

      We are clear that, in the absence of a return=representation prefer header, the default for created entities should be to return the created entity. The default for PUT/PATCH has always been no data, but that is harder to find in the current document.

        Attachments

          Activity

            People

            • Assignee:
              mikep Michael Pizzo (Inactive)
              Reporter:
              mikep Michael Pizzo (Inactive)
            • Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: