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

[GET] /api/v1/management/newCourts?params

✅
사용자가 추가한 농구장 목록 조회

REQUEST

Header

Headers { Authorization: "Bearer {token}" }
 
PathVariable
Filed
Type
Description
비고
userId
Number
사용자 구별키
RequestParameter
Filed
Type
Description
비고
status
String
상태정보
READY, DONE
size
Number
요청한 데이터의 개수
lastId
Number
데이터의 마지막 인덱스 값
isFirst
Boolean
첫번째 페이지인지 아닌지

RESPONSE

Body
Field
Type
Description
비고
contents
Array
무한 스크롤 내용
contents.[].newCourtId
Number
사용자가 새로 추가한 농구장의 구별키
contents.[].name
String
사용자가 새로 추가한 농구장의 이름
contents.[].basketCount
Number
사용자가 새로 추가한 농구장의 골대 개수
농구장 골대 수 제한: true 농구장 골대 수 : 1 ~ 99
contents.[].longitude
Number
사용자가 새로 추가한 농구장의 농구장 경도
contents.[].latitude
Number
사용자가 새로 추가한 농구장의 농구장 위도
contents.[].image
String
Null
사용자가 새로 추구한 농구장의 이미지
contents.[].status
String
사용자가 새로 추구한 농구장에 대한 관리자의 정보 추가 승인 여부
종류: READY, ACCEPT, DENY
contents.[].texture
String
Null
사용자가 새로 추구한 농구장의 바닥재질
종류: RUBBER, URETHANE, ASPHALT, SOIL, CONCRETE, ETC * 해석: RUBBER(고무), SOIL(흙)
contents.[].createdAt
String
사용자가 새로 추가한 농구장 정보 생성 일자
날짜 포맷: YYYY-mm-DDThh:MM:ss
contents.[].updatedAt
String
사용자가 새로 추가한 농구장 정보의 수정 일자
날짜 포맷: YYYY-mm-DDThh:MM:ss
lastId
Number
Null
제공한 데이터의 마지막 구별키
null = 끝
  • Body 예시
{ "contents": [ { "newCourtId": 5, "name": "뚝섬 농구장", "basketCount": 2, "longitude": 127.9294084, "latitude" : 35.5224169, "image": "https://s3location", "texture": "ETC", "status": "READY" "createdAt": "2021-01-01T12:20:10", "updatedAt": "2021-01-01T12:20:10", }, { "newCourtId": 1, "name": "잠실한강공원 농구장", "basketCount": 1, "longitude": 126.9294254, "latitude" : 37.5283169, "image": "https://s3location", "texture": "RUBBER", "status": "READY" "createdAt": "2021-01-01T12:20:10", "updatedAt": "2021-01-01T12:20:10", } ], "lastId": 1 }