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

Commit f91fe08

Browse files
committed
Add Code Snippets to Spec Files
1 parent b178634 commit f91fe08

File tree

1 file changed

+9
-7
lines changed

1 file changed

+9
-7
lines changed

site/specs/messaging.yml

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -887,7 +887,7 @@ paths:
887887
- $ref: '#/components/parameters/sort'
888888
- $ref: '#/components/parameters/pageToken'
889889
- $ref: '#/components/parameters/limit'
890-
- $ref: '#/components/parameters/trackTotalCount'
890+
- $ref: '#/components/parameters/limitTotalCount'
891891
responses:
892892
'200':
893893
$ref: '#/components/responses/listMessagesResponse'
@@ -1530,14 +1530,16 @@ components:
15301530
schema:
15311531
type: integer
15321532
example: 50
1533-
trackTotalCount:
1533+
limitTotalCount:
15341534
in: query
1535-
name: trackTotalCount
1535+
name: limitTotalCount
15361536
required: false
15371537
description: >-
1538-
When set to false, the response's totalCount field will have a maximum
1539-
value of 10,000. When set to true, or excluded, this will give an
1540-
accurate totalCount of all messages that match the provided filters.
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.
15411543
example: true
15421544
schema:
15431545
type: boolean
@@ -1607,7 +1609,7 @@ components:
16071609
type: integer
16081610
description: >-
16091611
The total number of messages matched by the search. When the request
1610-
has trackTotalCount set to false this value is limited to 10,000.
1612+
has limitTotalCount set to false this value is limited to 10,000.
16111613
example: 100
16121614
pageInfo:
16131615
$ref: '#/components/schemas/pageInfo'

0 commit comments

Comments
 (0)