농구장 특정 날짜의 예약 전체조회
Request
Headers
headers { Authorization: "Bearer ${token}" }
RESPONSE
Body
- Body 예시
{ "contents": [ { "id": "10", //string으로 변경 "startTime": "2021-01-01T03:00:00.000Z", "endTime": "2021-01-01T05:00:00.000Z", "hasBall": false, "userId": "2", //string으로 변경 "profileImage": "https://s4...", }, { "id": "11", //string으로 변경 "startTime": "2021-01-01T03:00:00.000Z", "endTime": "2021-01-01T05:00:00.000Z", "hasBall": true, "userId": "2", //string으로 변경 "profileImage": "https://s4...", } ] }
예약 API 점검
- request: 농구장 아이디와 날짜를 통해
- courtID
- 날짜
- response : 하루의 전체 예약현황을 받아오는 API가 필요합니다.
- 정렬 기준
- 전체: 0시~24시까지 시간 순으로 정렬
- 30분 블록, 한 블록: 예약의 updatedAt을 기준으로 정렬