diff --git a/public/openapi/components/schemas/Chats.yaml b/public/openapi/components/schemas/Chats.yaml index 7f8f1b8b85..1d21c26343 100644 --- a/public/openapi/components/schemas/Chats.yaml +++ b/public/openapi/components/schemas/Chats.yaml @@ -19,6 +19,9 @@ RoomObject: userCount: type: number description: number of users in this chat room + groups: + type: array + description: list of groups that can access the room timestamp: type: number description: Timestamp of when room was created diff --git a/public/openapi/read/user/userslug/chats/roomid.yaml b/public/openapi/read/user/userslug/chats/roomid.yaml index 278f20edbf..d776512925 100644 --- a/public/openapi/read/user/userslug/chats/roomid.yaml +++ b/public/openapi/read/user/userslug/chats/roomid.yaml @@ -36,6 +36,8 @@ get: type: number icon: type: string + groups: + type: array timestamp: type: number description: Timestamp of when room was created @@ -181,6 +183,8 @@ get: type: boolean userCount: type: number + groups: + type: array timestamp: type: number description: Timestamp of when room was created