Skip to content
This repository was archived by the owner on Nov 29, 2023. It is now read-only.

Commit b09d4c3

Browse files
authored
Auto-merge PR based on merge event
Auto-merging PR based on merge event from upstream repository
2 parents cdf7fe4 + aa61d46 commit b09d4c3

File tree

2 files changed

+174
-304
lines changed

2 files changed

+174
-304
lines changed

site/specs/messaging.yml

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -887,6 +887,7 @@ paths:
887887
- $ref: '#/components/parameters/sort'
888888
- $ref: '#/components/parameters/pageToken'
889889
- $ref: '#/components/parameters/limit'
890+
- $ref: '#/components/parameters/limitTotalCount'
890891
responses:
891892
'200':
892893
$ref: '#/components/responses/listMessagesResponse'
@@ -1529,6 +1530,19 @@ components:
15291530
schema:
15301531
type: integer
15311532
example: 50
1533+
limitTotalCount:
1534+
in: query
1535+
name: limitTotalCount
1536+
required: false
1537+
description: >-
1538+
When set to true, the response's totalCount field will have a maximum
1539+
value of 10,000. When set to false, or excluded, this will give an
1540+
accurate totalCount of all messages that match the provided filters. If
1541+
you are experiencing latency, try using this parameter to limit your
1542+
results.
1543+
example: true
1544+
schema:
1545+
type: boolean
15321546
schemas:
15331547
priorityEnum:
15341548
type: string
@@ -1593,7 +1607,9 @@ components:
15931607
properties:
15941608
totalCount:
15951609
type: integer
1596-
description: Total number of messages matched by the search.
1610+
description: >-
1611+
The total number of messages matched by the search. When the request
1612+
has limitTotalCount set to true this value is limited to 10,000.
15971613
example: 100
15981614
pageInfo:
15991615
$ref: '#/components/schemas/pageInfo'

0 commit comments

Comments
 (0)