- Added ParticipantNameService to manage unique participant name reservations. - Integrated name reservation in ParticipantService during token generation. - Implemented cleanup of expired name reservations in LivekitWebhookService. - Enhanced RedisService with atomic operations for name reservation. - Updated internal configuration for participant name reservation limits. - Added tests for participant name reservation and release functionality. - Updated frontend dependencies to use the latest version of openvidu-components-angular.
55 lines
2.3 KiB
YAML
55 lines
2.3 KiB
YAML
/participants/token:
|
|
post:
|
|
operationId: generateParticipantToken
|
|
summary: Generate token for participant
|
|
description: >
|
|
Generates a token for a participant to join an OpenVidu Meet room.
|
|
tags:
|
|
- Internal API - Participant
|
|
security:
|
|
- accessTokenCookie: []
|
|
requestBody:
|
|
$ref: '../../components/requestBodies/internal/participant-token-request.yaml'
|
|
responses:
|
|
'200':
|
|
$ref: '../../components/responses/internal/success-generate-participant-token.yaml'
|
|
'400':
|
|
$ref: '../../components/responses/internal/error-invalid-room-secret.yaml'
|
|
'401':
|
|
$ref: '../../components/responses/unauthorized-error.yaml'
|
|
'403':
|
|
$ref: '../../components/responses/forbidden-error.yaml'
|
|
'404':
|
|
$ref: '../../components/responses/error-room-not-found.yaml'
|
|
'422':
|
|
$ref: '../../components/responses/validation-error.yaml'
|
|
'500':
|
|
$ref: '../../components/responses/internal-server-error.yaml'
|
|
/participants/token/refresh:
|
|
post:
|
|
operationId: refreshParticipantToken
|
|
summary: Refresh token for participant
|
|
description: >
|
|
Refresh a token for a participant in an OpenVidu Meet room.
|
|
tags:
|
|
- Internal API - Participant
|
|
security:
|
|
- accessTokenCookie: []
|
|
requestBody:
|
|
$ref: '../../components/requestBodies/internal/participant-token-request.yaml'
|
|
responses:
|
|
'200':
|
|
$ref: '../../components/responses/internal/success-generate-participant-token.yaml'
|
|
'400':
|
|
$ref: '../../components/responses/internal/error-invalid-room-secret.yaml'
|
|
'401':
|
|
$ref: '../../components/responses/unauthorized-error.yaml'
|
|
'403':
|
|
$ref: '../../components/responses/forbidden-error.yaml'
|
|
'404':
|
|
$ref: '../../components/responses/internal/error-room-participant-not-found.yaml'
|
|
'422':
|
|
$ref: '../../components/responses/validation-error.yaml'
|
|
'500':
|
|
$ref: '../../components/responses/internal-server-error.yaml'
|