mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-08 15:05:46 +01:00
feat: POST /api/v3/chats, chat room creation, plus openAPI docs update
This commit is contained in:
14
public/openapi/components/schemas/Chats.yaml
Normal file
14
public/openapi/components/schemas/Chats.yaml
Normal file
@@ -0,0 +1,14 @@
|
||||
RoomObject:
|
||||
type: object
|
||||
properties:
|
||||
owner:
|
||||
type: number
|
||||
description: the uid of the chat room owner (usually the user who created the room initially)
|
||||
roomId:
|
||||
type: string
|
||||
description: unique identifier for the chat room
|
||||
roomName:
|
||||
type: string
|
||||
groupChat:
|
||||
type: boolean
|
||||
description: whether the chat room is a group chat or not
|
||||
Reference in New Issue
Block a user