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

Commit 15aab56

Browse files
authored
Merge pull request #681 from Bandwidth/falsayab-patch-1
falsayab-patch-1
2 parents f702f59 + 09ed6db commit 15aab56

File tree

1 file changed

+5
-65
lines changed

1 file changed

+5
-65
lines changed

site/specs/insights.yml

Lines changed: 5 additions & 65 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,7 @@ paths:
2828
- $ref: '#/components/parameters/startTime'
2929
- $ref: '#/components/parameters/endTime'
3030
- $ref: '#/components/parameters/callingNumber'
31-
- $ref: '#/components/parameters/callingNumberType'
3231
- $ref: '#/components/parameters/calledNumber'
33-
- $ref: '#/components/parameters/calledNumberType'
3432
- $ref: '#/components/parameters/callDirection'
3533
- $ref: '#/components/parameters/callType'
3634
- $ref: '#/components/parameters/callResult'
@@ -114,17 +112,13 @@ components:
114112
115113
Format: E.164 with '+' prefix
116114
example: '+18185559876'
117-
callingNumberType:
118-
$ref: '#/components/schemas/callingNumberType'
119115
calledNumber:
120116
type: string
121117
description: |-
122118
Phone number of the caller who received the call.
123119
124120
Format: E.164 with '+' prefix
125121
example: '+18185551234'
126-
calledNumberType:
127-
$ref: '#/components/schemas/calledNumberType'
128122
callDirection:
129123
$ref: '#/components/schemas/callDirection'
130124
postDialDelay:
@@ -191,38 +185,6 @@ components:
191185
- links
192186
- data
193187
- errors
194-
callingNumberType:
195-
type: string
196-
description: Number type of the caller who initiated the call.
197-
enum:
198-
- EMERGENCY
199-
- INFORMATION
200-
- INTERNATIONAL
201-
- INTL-BLOCK
202-
- N11
203-
- NANPA-INVALID
204-
- NANPA-INTL
205-
- NANPA-US
206-
- OPERATOR
207-
- TOLLFREE-OOS
208-
- UNKNOWN
209-
example: NANPA-US
210-
calledNumberType:
211-
type: string
212-
description: Number type of the caller who received the call.
213-
enum:
214-
- EMERGENCY
215-
- INFORMATION
216-
- INTERNATIONAL
217-
- INTL-BLOCK
218-
- N11
219-
- NANPA-INVALID
220-
- NANPA-INTL
221-
- NANPA-US
222-
- OPERATOR
223-
- TOLLFREE-OOS
224-
- UNKNOWN
225-
example: NANPA-US
226188
callDirection:
227189
type: string
228190
description: Direction of call.
@@ -347,12 +309,6 @@ components:
347309
schema:
348310
type: string
349311
example: '%2B18185559876'
350-
callingNumberType:
351-
name: callingNumberType
352-
in: query
353-
description: 'Filter Type: Exact Match, any valid call number type.'
354-
schema:
355-
$ref: '#/components/schemas/callingNumberType'
356312
calledNumber:
357313
name: calledNumber
358314
in: query
@@ -371,12 +327,6 @@ components:
371327
schema:
372328
type: string
373329
example: '%2B18185551234'
374-
calledNumberType:
375-
name: calledNumberType
376-
in: query
377-
description: 'Filter Type: Exact Match, any valid call number type.'
378-
schema:
379-
$ref: '#/components/schemas/calledNumberType'
380330
callDirection:
381331
name: callDirection
382332
in: query
@@ -474,26 +424,16 @@ components:
474424
type: array
475425
items:
476426
$ref: '#/components/schemas/link'
477-
nullable: true
478-
example: null
427+
nullable: false
428+
example: []
479429
data:
480-
type: object
481-
properties:
482-
totalCount:
483-
type: integer
484-
description: The total count of objects returned in the response.
485-
example: 1
486-
calls:
487-
type: array
488-
items:
489-
$ref: '#/components/schemas/call'
490-
nullable: true
430+
$ref: '#/components/schemas/call'
491431
errors:
492432
type: array
493433
items:
494434
$ref: '#/components/schemas/error'
495-
nullable: true
496-
example: null
435+
nullable: false
436+
example: []
497437
required:
498438
- links
499439
- data

0 commit comments

Comments
 (0)