[mirotalksfu] - add API join endpoint + swagger doc

هذا الالتزام موجود في:
Miroslav Pejic
2022-01-02 14:32:28 +01:00
الأصل e678180b43
التزام 05ed18f543
14 ملفات معدلة مع 196 إضافات و2 حذوفات

عرض الملف

@@ -31,6 +31,45 @@ paths:
$ref: '#/definitions/MeetingResponse'
'403':
description: 'Unauthorized!'
/join:
post:
tags:
- 'join'
summary: 'Create direct join'
description: 'Create join'
parameters:
- in: body
name: Join
description: Custom Join URL.
schema:
type: object
required:
- room
- name
- audio
- video
properties:
room:
type: string
name:
type: string
audio:
type: boolean
video:
type: boolean
consumes:
- 'application/json'
produces:
- 'application/json'
security:
- secretApiKey: []
responses:
'200':
description: 'Direct join created'
schema:
$ref: '#/definitions/JoinResponse'
'403':
description: 'Unauthorized!'
securityDefinitions:
secretApiKey:
@@ -45,3 +84,8 @@ definitions:
properties:
meeting:
type: 'string'
JoinResponse:
type: 'object'
properties:
join:
type: 'string'