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

Commit 93790c4

Browse files
committed
Add Code Snippets to Spec Files
1 parent 6ed8405 commit 93790c4

File tree

4 files changed

+1081
-295
lines changed

4 files changed

+1081
-295
lines changed

site/specs/insights.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ paths:
3232
- $ref: '#/components/parameters/callDirection'
3333
- $ref: '#/components/parameters/callType'
3434
- $ref: '#/components/parameters/callResult'
35+
- $ref: '#/components/parameters/hangUpSource'
3536
- $ref: '#/components/parameters/sipResponseCode'
3637
- $ref: '#/components/parameters/subAccount'
3738
- $ref: '#/components/parameters/sort'
@@ -132,6 +133,10 @@ components:
132133
Message generated by a user agent server (UAS) or SIP server to
133134
reply to a request generated by a client.
134135
example: 200
136+
sipResponseDescription:
137+
type: string
138+
description: A short description of the SIP response.
139+
example: OK
135140
cost:
136141
format: double
137142
type: number
@@ -147,6 +152,8 @@ components:
147152
example: '1234'
148153
attestationIndicator:
149154
$ref: '#/components/schemas/attestationIndicator'
155+
hangUpSource:
156+
$ref: '#/components/schemas/hangUpSource'
150157
genericError:
151158
title: Generic Error
152159
type: object
@@ -215,6 +222,14 @@ components:
215222
- B
216223
- C
217224
example: A
225+
hangUpSource:
226+
type: string
227+
description: Hang up source.
228+
enum:
229+
- BANDWIDTH_INTERNAL
230+
- CALLED_PARTY
231+
- CALLING_PARTY
232+
example: CALLED_PARTY
218233
link:
219234
title: Link
220235
type: object
@@ -339,6 +354,12 @@ components:
339354
description: 'Filter Type: Exact Match, any valid call result type.'
340355
schema:
341356
$ref: '#/components/schemas/callResult'
357+
hangUpSource:
358+
name: hangUpSource
359+
in: query
360+
description: 'Filter Type: Exact Match, any valid hang up source.'
361+
schema:
362+
$ref: '#/components/schemas/hangUpSource'
342363
sipResponseCode:
343364
name: sipResponseCode
344365
in: query

0 commit comments

Comments
 (0)