mirror of
https://github.com/m1k1o/neko-rooms.git
synced 2026-11-03 07:01:35 -06:00
add ?start=false to room create & recreate.
This commit is contained in:
+16
@@ -56,6 +56,14 @@ paths:
|
||||
- rooms
|
||||
summary: Create new room
|
||||
operationId: roomCreate
|
||||
parameters:
|
||||
- in: query
|
||||
name: start
|
||||
required: false
|
||||
schema:
|
||||
type: boolean
|
||||
default: true
|
||||
description: Start room after creation
|
||||
requestBody:
|
||||
content:
|
||||
application/json:
|
||||
@@ -257,6 +265,14 @@ paths:
|
||||
required: true
|
||||
schema:
|
||||
type: string
|
||||
- in: query
|
||||
name: start
|
||||
required: false
|
||||
schema:
|
||||
type: boolean
|
||||
description: |
|
||||
Whether the room should be started or stopped after
|
||||
recreation, default is the current state of the room.
|
||||
requestBody:
|
||||
content:
|
||||
application/json:
|
||||
|
||||
Reference in New Issue
Block a user