backend: API paths and parameters from 'roomName' to 'roomId' for consistency
This commit is contained in:
parent
c94f262240
commit
1a4ecf873d
File diff suppressed because it is too large
Load Diff
@ -223,7 +223,7 @@ paths:
|
|||||||
$ref: '#/components/schemas/Error'
|
$ref: '#/components/schemas/Error'
|
||||||
example:
|
example:
|
||||||
message: 'Unauthorized'
|
message: 'Unauthorized'
|
||||||
/rooms/{roomName}/participant-role:
|
/rooms/{roomId}/participant-role:
|
||||||
get:
|
get:
|
||||||
operationId: getParticipantRole
|
operationId: getParticipantRole
|
||||||
summary: Get participant role in a room
|
summary: Get participant role in a room
|
||||||
@ -235,7 +235,7 @@ paths:
|
|||||||
security:
|
security:
|
||||||
- accessTokenCookie: []
|
- accessTokenCookie: []
|
||||||
parameters:
|
parameters:
|
||||||
- name: roomName
|
- name: roomId
|
||||||
in: path
|
in: path
|
||||||
required: true
|
required: true
|
||||||
description: The name of the room to check the participant's role
|
description: The name of the room to check the participant's role
|
||||||
@ -587,10 +587,10 @@ paths:
|
|||||||
description: The name of the participant to delete
|
description: The name of the participant to delete
|
||||||
schema:
|
schema:
|
||||||
type: string
|
type: string
|
||||||
- name: roomName
|
- name: roomId
|
||||||
in: query
|
in: query
|
||||||
required: true
|
required: true
|
||||||
description: The name of the room from which to delete the participant
|
description: The ID of the room where the participant is connected
|
||||||
schema:
|
schema:
|
||||||
type: string
|
type: string
|
||||||
responses:
|
responses:
|
||||||
@ -726,15 +726,15 @@ components:
|
|||||||
TokenOptions:
|
TokenOptions:
|
||||||
type: object
|
type: object
|
||||||
required:
|
required:
|
||||||
- roomName
|
- roomId
|
||||||
- participantName
|
- participantName
|
||||||
- secret
|
- secret
|
||||||
properties:
|
properties:
|
||||||
roomName:
|
roomId:
|
||||||
type: string
|
type: string
|
||||||
example: 'OpenVidu-123456'
|
example: 'room-123'
|
||||||
description: >
|
description: >
|
||||||
The name of the room to join.
|
The ID of the room where the participant will join.
|
||||||
participantName:
|
participantName:
|
||||||
type: string
|
type: string
|
||||||
example: 'Alice'
|
example: 'Alice'
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user