Skip to content

Commit f0e4a7e

Browse files
committed
Heiko's suggestion
1 parent 8258cc9 commit f0e4a7e

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

docs/odata-protocol/odata-protocol.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2175,7 +2175,7 @@ <h3 id="1129-resolving-an-entity-id"><a id="ResolvinganEntityId" href="#Resolvin
21752175
<h3 id="11210-requesting-the-number-of-items-in-a-collection"><a id="RequestingtheNumberofItemsinaCollection" href="#RequestingtheNumberofItemsinaCollection">11.2.10 Requesting the Number of Items in a Collection</a></h3>
21762176
</summary>
21772177
<p>To request only the number of items of a collection of entities or items of a collection-valued property, the client issues a <code>GET</code> request with <code>/$count</code> appended to the resource path of the collection.</p>
2178-
<p>On success, the response body MUST contain the exact count of items matching the request after applying any <a href="#SystemQueryOptionfilter"><code>$filter</code></a> or <a href="#SystemQueryOptionsearch"><code>$search</code></a> system query options, formatted as a simple primitive integer value with media type <code>text/plain</code> without <code>charset</code> parameter, and the response body following rule <code>1*DIGIT</code>.</p>
2178+
<p>On success, the response body MUST contain the exact count of items matching the request after applying any <a href="#SystemQueryOptionfilter"><code>$filter</code></a> or <a href="#SystemQueryOptionsearch"><code>$search</code></a> system query options, formatted as a simple primitive integer value with media type <code>text/plain</code> without <code>charset</code> parameter, and the response body following rule <code>1*DIGIT</code>, see <a href="#ODataABNF">OData-ABNF</a>.</p>
21792179
<p>Clients SHOULD NOT combine the system query options <a href="#SystemQueryOptiontop"><code>$top</code></a>, <a href="#SystemQueryOptionskip"><code>$skip</code></a>, <a href="#SystemQueryOptionorderby"><code>$orderby</code></a>, <a href="#SystemQueryOptionexpand"><code>$expand</code></a>, and <a href="#SystemQueryOptionformat"><code>$format</code></a> with the path suffix <code>/$count</code>. The result of such a request is undefined.</p>
21802180
<div class="example">
21812181
<p>Example 69: return the number of products in the Products entity set</p>

docs/odata-protocol/odata-protocol.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3713,7 +3713,7 @@ matching the request after applying any
37133713
[`$filter`](#SystemQueryOptionfilter) or
37143714
[`$search`](#SystemQueryOptionsearch) system query options, formatted as
37153715
a simple primitive integer value with media type `text/plain` without `charset` parameter,
3716-
and the response body following rule `1*DIGIT`.
3716+
and the response body following rule `1*DIGIT`, see [OData-ABNF](#ODataABNF).
37173717

37183718
Clients SHOULD NOT combine the system query options
37193719
[`$top`](#SystemQueryOptiontop),

odata-protocol/11 Data Service Requests.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1149,7 +1149,7 @@ matching the request after applying any
11491149
[`$filter`](#SystemQueryOptionfilter) or
11501150
[`$search`](#SystemQueryOptionsearch) system query options, formatted as
11511151
a simple primitive integer value with media type `text/plain` without `charset` parameter,
1152-
and the response body following rule `1*DIGIT`.
1152+
and the response body following rule `1*DIGIT`, see [OData-ABNF](#ODataABNF).
11531153

11541154
Clients SHOULD NOT combine the system query options
11551155
[`$top`](#SystemQueryOptiontop),

0 commit comments

Comments
 (0)