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

InlineCount should just be boolean

    XMLWordPrintable

    Details

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

      [Applied]

    • Proposal:
      Hide

      support $count as a replacement for $inlinecount as a query parameter and expand options. i.e.;

      • /customers?$count=true returns customers with inline count
      • /customers?$count=1 returns customers with inline count
      • /customers?$expand=orders($count=true) returns customers and their orders with inline count
      • /customers?$expand=orders($count=1) returns customers and their orders with inline count

      change the ABNF for $inlinecount to:
      inlinecount = '$count

      Show
      support $count as a replacement for $inlinecount as a query parameter and expand options. i.e.; /customers?$count=true returns customers with inline count /customers?$count=1 returns customers with inline count /customers?$expand=orders($count=true) returns customers and their orders with inline count /customers?$expand=orders($count=1) returns customers and their orders with inline count change the ABNF for $inlinecount to: inlinecount = '$count
    • Resolution:
      Show
      Accepted: https://www.oasis-open.org/committees/download.php/49055/odata-meeting-35_on-20130502-minutes.html#odata-323

      Description

      Today a client specifies that they want a count of entities returned inline by specifying the query option $inlinecount=allpages.

      the value "allpages" is meaningless and implies there is some other "singlepage" or "mostpages" or "everyotherpage" option.

        Attachments

          Activity

            People

            • Assignee:
              handl Ralf Handl
              Reporter:
              mikep Michael Pizzo
            • Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: