HomeAboutMeBlogGuest
© 2025 Sejin Cha. All rights reserved.
Built with Next.js, deployed on Vercel
🧚
[1기]최종 프로젝트 데브코스
/
🏀
[팀14] 슬램 - 우리 주변 농구장 예약
/
🧭
Domain 설계 1
/
[GET] /api/v1/chat/court/{courtId}?params

[GET] /api/v1/chat/court/{courtId}?params

✅
채팅 내용 조회

REQUEST

Header

Headers { Authorization: "Bearer {token}" }
 
PathVariables
Filed
Type
정의
courtId
Number
채팅방의 농구장 구별키
RequestParameter
Filed
Type
Description
비고
size
Number
요청한 데이터의 개수
lastId
Number
데이터의 마지막 인덱스 값
isFirst
Boolean
첫번째 페이지인지 아닌지
 

 

RESPONSE

Body
Filed
Type
Description
비고
content.[].court
Object
해당 채팅방의 농구장 정보
content.[].court.id
Number
해당 채팅방의 농구장 구별키
content.[].court.name
String
해당 채팅방의 농구장 이름
content.[].creator
Object
내용 생성자 정보
content.[].creator.id
Number
내용 생성자의 구별키
content.[].creator.nickname
String
내용 생성자의 닉네임
content.[].creator.image
String
내용 생성자의 이미지파일
content.[].conversation
Object
Null
대화 정보
content.[].conversation.content
String
대화 내용
content.[].loudSpeaker
Object
Null
확성기 정보
content.[].loudSpeaker.startTime
String
경기 시작 시간
content.[].createdAt
String
내용 생성시간
content.[].updatedAt
String
내용 수정 시간
content.lastId
Number
데이터의 마지막 인덱스 값
  • Body 예시
"content":[ { "court": { "id": number, "name": string }, "creator": { "id": number, "nickname": string, "image": string }, "conversation": { "content": string, } | null, "loudSpeaker" : { "startTime": string, } | null, "createdAt": string, "updatedAt": string, } ], "lastId": 10 }