오픈 채팅방 프로필 변경 - DevCamp2Flame/FlameTalk_Server GitHub Wiki

Open Chatroom Profile update API

Request

Method

PUT

URL

/api/chatroom/profile

Header

Method Parameter Description
Content-Type application/json
token {token} access token값

Body

Field Type Description Required
userChatroomId Long 유저의 채팅방 ID Y
openProfileId Long 변경하고자하는 유저의 오픈 프로필 ID Y

Response

Header

Method Parameter Description
statusCode {statusCode}

Body

Field Type Description
status Integer 응답 코드
message String 응답 메세지

SUCCESS example

{
    "status": 200,
    "messsage": "오픈 채팅방 프로필 변경 성공"
}

Error Code

Code Error Messsage
400 Bad Request
401 Unauthorized
500 Server Error

FAIL example

{
    "status": 400,
    "message": "잘못된 요청입니다.",
    "error": "BAD_REQUEST",
    "code": "BAD_REQUEST",
    "timestamp": "2022-01-18T19:30:16.3072905",
}