Allow no metadata for non-OData clients

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major
    • V4.01_WD01
    • Affects Version/s: V4.0_ERRATA02
    • Component/s: JSON Format
    • Environment:

      Simplified Payload;[Proposed]

    • Hide

      If a client sends an Accept header requesting JSON with a specific odata.metadata level, the service responds with that level.

      If a client sends a request with OData-Version or OData-MaxVersion and does not specify an odata.metadata level, the service responds with odata.metadata=minimal.

      If a client sends a request and does not specify OData-Version or OData-MaxVersion and does not specify an odata.metadata level, the service may respond with any format matching the Accept header, e.g. for application/json any JSON dialect, including OData JSON of the odata.metadata level preferred by that service.

      Show
      If a client sends an Accept header requesting JSON with a specific odata.metadata level, the service responds with that level. If a client sends a request with OData-Version or OData-MaxVersion and does not specify an odata.metadata level, the service responds with odata.metadata=minimal. If a client sends a request and does not specify OData-Version or OData-MaxVersion and does not specify an odata.metadata level, the service may respond with any format matching the Accept header, e.g. for application/json any JSON dialect, including OData JSON of the odata.metadata level preferred by that service.
    • Show
      https://www.oasis-open.org/apps/org/workgroup/odata/download.php/59030/odata-json-format-v4.01-wd01.docx

      We want simple rest services to support OData for interoperability without taxing them for non-interoperability requirements.

      The easiest way to do this is to allow no-metadata for non-odata clients.

      We can determine if the client is odata by:
      -Odata.maxversion header
      -Odata.version header
      -Odata media type parameters

            Assignee:
            Michael Pizzo (Inactive)
            Reporter:
            Michael Pizzo (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: