Response
**POST** /api/user/signin
**HTTP 200 CreatedAllow:** POST, HEAD, OPTIONS
**Content-Type:** application/json
**Vary:** Accept
{
"id": "test1",
"email": "[email protected]",
"name": "test1",
"description": "description",
"address": ["address1", "address2", ...],
"tel": "01011112222"
}
**HTTP 400 CreatedAllow:** POST, HEAD, OPTIONS
**Content-Type:** application/json
**Vary:** Denied
{
"message": "로그인정보가 일치하지 않습니다"
}
**HTTP 500 CreatedAllow:** POST, HEAD, OPTIONS
**Content-Type:** application/json
**Vary:** Denied
{
"message": "내부 오류 메세지"
}
Response
**POST** /api/user/signup
**HTTP 200 CreatedAllow:** POST, HEAD, OPTIONS
**Content-Type:** application/json
**Vary:** Accept
{
"id": "test1",
"email": "[email protected]",
"name": "test1",
"description": "description",
"address": ["address1", "address2", ...],
"tel": "01011112222"
}
**HTTP 400 CreatedAllow:** POST, HEAD, OPTIONS
**Content-Type:** application/json
**Vary:** Denied
{
"message": "아이디가 중복되었습니다"
}
**HTTP 500 CreatedAllow:** POST, HEAD, OPTIONS
**Content-Type:** application/json
**Vary:** Denied
{
"message": "내부 오류 메세지"
}
Response
**GET** /api/chat/rooms?user_id=?
**HTTP 200 CreatedAllow:** GET, HEAD, OPTIONS
**Content-Type:** application/json
**Vary:** Accept
[
{
"other_name" : "kim", //채팅 상대방 이름
"other_id": "aaa",
"room_id" : 122,
"item_id" : 123,
"item_name" : "핸드폰",
"reg_date": "2021-11-12",
"content" : "안녕하세요"
"address" : "동인동",
"score" : 4.8
"img_url" : "<http://image.jusaseyo>"
},
{
"receiver_name" : "kim", //채팅 상대방 이름
"receiver_id": "aaa",
"room_id" : 122,
"item_id" : 123,
"item_name" : "핸드폰",
"reg_date": "2021-11-12",
"content" : "안녕하세요"
"address" : "동인동",
"score" : 4.8
"img_url" : "<http://image.jusaseyo>"
},
{
"receiver_name" : "kim", //채팅 상대방 이름
"receiver_id": "aaa",
"item_id" : 123,
"item_name" : "핸드폰",
"reg_date": "2021-11-12",
"content" : "안녕하세요"
"address" : "동인동",
"score" : 4.8
"img_url" : "<http://image.jusaseyo>"
}, ...
]
**HTTP 500 CreatedAllow:** GET, HEAD, OPTIONS
**Content-Type:** application/json
**Vary:** Denied
{
"message": "내부 오류 메세지"
}