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

Clarify when odata.metadataEtag will be returned

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: V4.0_CS01
    • Fix Version/s: V4.0_ERRATA03
    • Component/s: JSON Format
    • Labels:
      None
    • Environment:

      [Applied]

    • Proposal:
      Hide

      If an ETag is returned when requesting the metadata document, then the service SHOULD set the odata.metadataEtag annotation to the metadata document's ETag in all responses when using odata.metadata=minimal or full. If no ETag is returned when requesting the metadata document, then the service SHOULD NOT set the odata.metadataEtag annotation in any responses.

      Show
      If an ETag is returned when requesting the metadata document, then the service SHOULD set the odata.metadataEtag annotation to the metadata document's ETag in all responses when using odata.metadata=minimal or full. If no ETag is returned when requesting the metadata document, then the service SHOULD NOT set the odata.metadataEtag annotation in any responses.
    • Resolution:
      Show
      https://www.oasis-open.org/committees/download.php/54711/odata-json-format-v4.0-wd08-2014-12-12.docx

      Description

      In the JSON format doc, section 4.5.2, there is this partial statement about odata.metadataEtag:

      "The odata.metadataEtag annotation MAY appear in a response in order to specify..."

      The "MAY" in this statement needs to be clarified so it is clear when the metadata ETag will be returned.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              matthew.borges Matthew Borges (Inactive)
            • Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: