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

Support returning inline count accuracy

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: V4.01_OS
    • Fix Version/s: V4.02
    • Component/s: JSON Format, Protocol
    • Labels:
    • Proposal:
      Hide

      Specify in [Protocol] that services may return the accuracy of the count in a format-specific manner.

       

      Specify in [OData-Json] that @odata.countAccuracy with values "counted", "partial", or "estimated" may be returned to specify the accuracy of the count.

      Show
      Specify in [Protocol] that services may return the accuracy of the count in a format-specific manner.   Specify in [OData-Json] that @odata.countAccuracy with values "counted", "partial", or "estimated"  may be returned to specify the accuracy of the count.

      Description

      We say that the @odata.count value may be an approximation, but we don't provide a way for a client to know if it is accurate.

      Additional control information to return an accuracy would enable clients to understand how reliable the count value.

      One option would be to add @odata.countAccuracy (or @odata.count.accuracy) to the JSON control information, with values such as: exact, atLeast, estimated.

        Attachments

          Activity

            People

            • Assignee:
              mikep Michael Pizzo
              Reporter:
              mikep Michael Pizzo
            • Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: