Skip to content

Commit 225efda

Browse files
authored
Merge pull request dyte-io#357 from dyte-in/feature/api-203
fix(recording_config): include recording_config in meeting API response routes + refactor to re-use same config type everywhere
2 parents 49c754d + f1236be commit 225efda

File tree

1 file changed

+46
-33
lines changed

1 file changed

+46
-33
lines changed

static/api/v2.yaml

Lines changed: 46 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -4840,6 +4840,36 @@ components:
48404840
type: string
48414841
x-stoplight:
48424842
id: 0b5t8sncdhv1c
4843+
RecordingConfig:
4844+
title: RecordingConfig
4845+
x-stoplight:
4846+
id: yyo7jv040qf6o
4847+
type: object
4848+
description: |
4849+
Recording Configurations to be used for this meeting. This level of configs takes higher preference over organization level configs on the Dyte developer portal.
4850+
properties:
4851+
max_seconds:
4852+
type: number
4853+
x-stoplight:
4854+
id: io98gvoqjyarx
4855+
minimum: 60
4856+
maximum: 86400
4857+
description: 'Specifies the maximum duration for recording in seconds, ranging from a minimum of 60 seconds to a maximum of 24 hours.'
4858+
file_name_prefix:
4859+
type: string
4860+
x-stoplight:
4861+
id: gvy18dsipftrc
4862+
description: Adds a prefix to the beginning of the file name of the recording.
4863+
video_config:
4864+
$ref: '#/components/schemas/VideoConfig'
4865+
audio_config:
4866+
$ref: '#/components/schemas/AudioConfig'
4867+
storage_config:
4868+
$ref: '#/components/schemas/StorageConfig'
4869+
dyte_bucket_config:
4870+
$ref: '#/components/schemas/DyteBucketConfig'
4871+
live_streaming_config:
4872+
$ref: '#/components/schemas/LivestreamingConfig'
48434873
parameters:
48444874
Content-Type:
48454875
name: Content-Type
@@ -5075,35 +5105,7 @@ components:
50755105
description: Specifies if the meeting should start getting livestreamed on start.
50765106
nullable: true
50775107
recording_config:
5078-
type: object
5079-
x-stoplight:
5080-
id: 25i4ef7cvg4qb
5081-
description: |
5082-
Recording Configurations to be used for this meeting. This level of configs takes higher preference over organization level configs on the Dyte developer portal.
5083-
properties:
5084-
storage_config:
5085-
$ref: '#/components/schemas/StorageConfig'
5086-
audio_config:
5087-
$ref: '#/components/schemas/AudioConfig'
5088-
video_config:
5089-
$ref: '#/components/schemas/VideoConfig'
5090-
dyte_bucket_config:
5091-
$ref: '#/components/schemas/DyteBucketConfig'
5092-
live_streaming_config:
5093-
$ref: '#/components/schemas/LivestreamingConfig'
5094-
max_seconds:
5095-
type: number
5096-
x-stoplight:
5097-
id: 4gg3sjaisjebi
5098-
description: 'Specifies the maximum duration for recording in seconds, ranging from a minimum of 60 seconds to a maximum of 24 hours.'
5099-
minimum: 60
5100-
maximum: 86400
5101-
file_name_prefix:
5102-
type: string
5103-
x-stoplight:
5104-
id: ouehpg8wlkqnx
5105-
description: |
5106-
Adds a prefix to the beginning of the file name of the recording
5108+
$ref: '#/components/schemas/RecordingConfig'
51075109
description: Create meeting body
51085110
UpdateMeetingBody:
51095111
content:
@@ -5478,10 +5480,21 @@ components:
54785480
schema:
54795481
allOf:
54805482
- $ref: '#/components/schemas/GenericSuccessResponse'
5481-
- type: object
5482-
properties:
5483-
data:
5484-
$ref: '#/components/schemas/Meeting'
5483+
- allOf:
5484+
- properties:
5485+
data:
5486+
$ref: '#/components/schemas/Meeting'
5487+
- x-stoplight:
5488+
id: 2rhsz8bxmgily
5489+
properties:
5490+
data:
5491+
x-stoplight:
5492+
id: u1ivkl42i7ksx
5493+
type: object
5494+
properties:
5495+
recording_config:
5496+
$ref: '#/components/schemas/RecordingConfig'
5497+
type: object
54855498
headers: {}
54865499
GetAllMeetings:
54875500
description: Success response

0 commit comments

Comments
 (0)