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

Support DELETE/PUT to $ref of a collection-valued nav prop to remove/replace all links

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: V4.0_ERRATA03
    • Fix Version/s: V4.01_WD01
    • Component/s: Protocol, URL Conventions
    • Labels:
      None

      Description

      Today you can "unlink" a resource from a single-valued nav prop using DELETE ~/EntitySet(key)/SingleNav/$ref.

      With the new set operations, we could support deleting all references from a collection-valued nav prop using DELETE ~/EntitySet(key)/CollectionNav/$ref.

      We should also consider supporting PUT ~/EntitySet(key)/CollectionNav/$ref with an array of keys to replace the links with those provided in the payload.

      For containment, the specified links would have to already be in the collection; any links not in the collection would be removed (and, because it's containment, deleted).

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: