This repository has been archived by the owner on May 1, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 5
[API room] DM 생성하기
Heedong Kim edited this page Dec 30, 2021
·
3 revisions
POST https://{HOST_URL}/room-service/room
Header | Type | Description | mandatory |
---|---|---|---|
Authorization | string | Bearer {token} | required |
Content-Type | string | application/json | required |
Property | Type | Description | mandatory |
---|---|---|---|
users | array | 유저 ID 리스트 | required |
{
"users": [45, 231312, 54389432]
}
Property | Type | Description | mandatory |
---|---|---|---|
isSuccess | boolean | 요청 성공 여부 | required |
code | integer | 응답에 대한 코드 | required |
message | string | 응답에 대한 메세지 | required |
result | object | 결과값 | required |
result.roomId | integer | 채팅방 ID | required |
{
"isSuccess": true,
"code": 1000,
"message": "성공",
"result": {
"roomId": 21321321
}
}