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

Reconsider guidance on odata.count position (public comment c201512e00001)

    XMLWordPrintable

    Details

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

      [Applied]

    • Proposal:
      Hide

      For Errata 3: clarify that ordering constraint is only enforced for odata.streaming=true.

      For server-driven paging, for odata.streaming=false, the odata.count must appear on at least the first page and may appear on subsequent pages (in which case it may vary from page to page).

      Show
      For Errata 3: clarify that ordering constraint is only enforced for odata.streaming=true. For server-driven paging, for odata.streaming=false, the odata.count must appear on at least the first page and may appear on subsequent pages (in which case it may vary from page to page).
    • Resolution:
      Show
      https://www.oasis-open.org/committees/download.php/57551/odata-json-format-v4.0-wd08-2016-02-17.docx

      Description

      In the JSON format, we say in section 12: "The odata.count name/value pair represents the number of entities in the collection. If present, it MUST come before the value name/value pair. "

      Per public feedback - https://lists.oasis-open.org/archives/odata-comment/201512/msg00001.html - we should consider softening this statement to SHOULD, and perhaps clarify which page(s) it should appear on.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              markdstafford Mark Stafford
            • Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: