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

Allow $filter and $select to refer to annotations as if they were properties

    XMLWordPrintable

    Details

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

      [Proposed]

    • Proposal:
      Hide

      In general this would have to be done by the client because the server typically doesn't own the annotations.

      If the server actually knows the annotations, this could more intuitively be done with a "cast" path segment:

      GET ~/People/vocab.vCard

      So we propose to close this ticket without action.

      Accepted: https://www.oasis-open.org/committees/download.php/48097/odata-meeting-23_on-20130130_31-F2F-minutes.html#odata-33

      Show
      In general this would have to be done by the client because the server typically doesn't own the annotations. If the server actually knows the annotations, this could more intuitively be done with a "cast" path segment: GET ~/People/vocab.vCard So we propose to close this ticket without action. Accepted: https://www.oasis-open.org/committees/download.php/48097/odata-meeting-23_on-20130130_31-F2F-minutes.html#odata-33

      Description

      E.g. get the vCard view of a Person entiy:

      GET ~/People?$select=vCard/*

      This may work only if the annotations are included in the $metadata document.

        Attachments

          Activity

            People

            • Assignee:
              handl Ralf Handl
              Reporter:
              martinzurmuehl Martin Zurmuehl
            • Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: