openapi: add roomName property to recording responses and schema

This commit is contained in:
juancarmore 2025-08-27 20:16:17 +02:00
parent ec7f2a483f
commit 1adce0f424
5 changed files with 10 additions and 1 deletions

View File

@ -6,6 +6,7 @@ content:
example:
recordingId: 'room-123--EG_XYZ--XX445'
roomId: 'room-123'
roomName: 'room'
status: 'ACTIVE'
filename: 'room-123--XX445.mp4'
startDate: 1600000000000

View File

@ -12,8 +12,8 @@ content:
example:
recordingId: 'room-123--EG_XYZ--XX445'
roomId: 'room-123'
roomName: 'room'
status: 'ENDING'
filename: 'room-123--XX445.mp4'
startDate: 1600000000000
duration: 3.6
details: 'End reason: StopEgress API'

View File

@ -9,6 +9,7 @@ content:
value:
recordingId: 'room-123--EG_XYZ--XX445'
roomId: 'room-123'
roomName: 'room'
status: 'COMPLETE'
filename: 'room-123--XX445.mp4'
startDate: 1600000000000
@ -22,6 +23,7 @@ content:
value:
recordingId: 'room-456--EG_ABC--QR789'
roomId: 'room-456'
roomName: 'room'
status: 'ACTIVE'
filename: 'room-456--QR789.mp4'
startDate: 1682500000000

View File

@ -17,6 +17,7 @@ content:
recordings:
- recordingId: 'room-123--EG_XYZ--XX445'
roomId: 'room-123'
roomName: 'room'
status: 'ACTIVE'
filename: 'room-123--XX445.mp4'
startDate: 1620000000000
@ -26,6 +27,7 @@ content:
details: 'Stopped using API'
- recordingId: 'room-456--EG_ZYX--XX678'
roomId: 'room-456'
roomName: 'room'
status: 'COMPLETE'
filename: 'room-456--XX678.mp4'
startDate: 1625000000000

View File

@ -8,6 +8,10 @@ properties:
type: string
example: 'room-123'
description: The unique identifier of the room where the recording was made.
roomName:
type: string
example: 'room'
description: The name of the room where the recording was made.
# outputMode:
# type: string
# example: 'COMPOSED'