mirror of
https://github.com/m1k1o/neko-rooms.git
synced 2026-11-02 22:51:34 -06:00
add coom recreate #12.
This commit is contained in:
+21
@@ -199,6 +199,27 @@ paths:
|
||||
description: OK
|
||||
'500':
|
||||
description: Internal server error
|
||||
/api/rooms/{roomId}/recreate:
|
||||
post:
|
||||
tags:
|
||||
- rooms
|
||||
summary: Recreate room
|
||||
operationId: roomRecreate
|
||||
parameters:
|
||||
- in: path
|
||||
name: roomId
|
||||
required: true
|
||||
schema:
|
||||
type: string
|
||||
responses:
|
||||
'200':
|
||||
description: OK
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: '#/components/schemas/RoomEntry'
|
||||
'500':
|
||||
description: Internal server error
|
||||
|
||||
components:
|
||||
schemas:
|
||||
|
||||
Reference in New Issue
Block a user