openapi: add error response for empty ZIP download and update recordings and rooms notes

This commit is contained in:
juancarmore 2026-01-23 19:12:48 +01:00
parent 7c4b5c6724
commit 23a25c1c3d
3 changed files with 14 additions and 11 deletions

View File

@ -1,8 +1,8 @@
description: Recordings not from the same room
description: Recordings not available for ZIP download
content:
application/json:
schema:
$ref: ../schemas/error.yaml
example:
error: 'Recording Error'
message: 'None of the provided recording IDs belong to room "room123"'
message: 'None of the provided recordings are available for ZIP download'

View File

@ -9,8 +9,8 @@
By default, the recordings are sorted by start date in descending order (newest first).
> **Note:**
> - When using `accessTokenHeader` authentication: Returns only recordings the authenticated user has access to.
> - When using `roomMemberTokenHeader` authentication: The `roomId` filter is ignored and only recordings associated with the room included in the token are returned.
> - When using `accessTokenHeader` authentication: Only recordings the authenticated user has access to will be returned.
> - When using `roomMemberTokenHeader` authentication: The `roomId` filter is ignored and only recordings associated with the room included in the token will be returned.
tags:
- OpenVidu Meet - Recordings
security:
@ -44,9 +44,9 @@
description: |
Deletes multiple recordings at once with the specified recording IDs.
> **Note:** If this endpoint is called using the `roomMemberTokenHeader` authentication method,
> all specified recordings must belong to the same room included in the token.
> If a recording does not belong to that room, it will not be deleted.
> **Note:**
> - When using `accessTokenHeader` authentication: Only deletes recordings the authenticated user has access to.
> - When using `roomMemberTokenHeader` authentication: Only deletes recordings associated with the room included in the token.
tags:
- OpenVidu Meet - Recordings
security:
@ -77,9 +77,9 @@
Downloads multiple recordings as a ZIP file with the specified recording IDs.
The ZIP file will contain all recordings in MP4 format.
> **Note:** If this endpoint is called using the `roomMemberTokenHeader` authentication method,
> all specified recordings must belong to the same room included in the token.
> If a recording does not belong to that room, it will not be included in the ZIP file.
> **Note:**
> - When using `accessTokenHeader` authentication: Only includes recordings the authenticated user has access to.
> - When using `roomMemberTokenHeader` authentication: Only includes recordings associated with the room included in the token.
tags:
- OpenVidu Meet - Recordings
security:
@ -105,7 +105,7 @@
type: string
format: binary
'400':
$ref: '../components/responses/error-recordings-not-same-room.yaml'
$ref: '../components/responses/error-recordings-zip-empty.yaml'
'401':
$ref: '../components/responses/unauthorized-error.yaml'
'403':

View File

@ -69,6 +69,9 @@
Depending on these policies, the rooms may be deleted/closed immediately, scheduled to be deleted/closed once the meetings end,
or the operation may fail if deletion is not permitted.
> **Note:** If this endpoint is called using the `accessTokenHeader` authentication method,
> only rooms the authenticated user can manage will be deleted.
tags:
- OpenVidu Meet - Rooms
security: