Request Headers
•
Authorization: Bearer 토큰을 포함한 인증 헤더
Request Parameters
•
Path Variable
◦
gatheringId (Long): 조회할 모임의 고유 ID
Response
•
Status Code: 200 OK
•
Content-Type: application/json
•
Body: List<ChatResponse>
Sample Response
{
"title": "모임 채팅방 제목",
"chatroomId": 12345,
"chatroomType": ""GATHERING,
"messageInfoList": [
{
"senderName": "John Doe",
"senderToken": "uniqueSenderToken123",
"senderProfileImage": "https://example.com/profile-image.jpg",
"content": "Hello, this is a message content.",
"createdAt": "2024-11-01T12:00:00Z"
},
{
"senderName": "Jane Smith",
"senderToken": "uniqueSenderToken456",
"senderProfileImage": "https://example.com/profile-image2.jpg",
"content": "Hi John, I received your message.",
"createdAt": "2024-11-01T12:05:00Z"
}
]
}
JSON
복사
오류
•
GATHERING_NOT_FOUND
◦
Code: 404 Not Found
◦
Description: 해당 모임을 찾을 수 없습니다.