1. Calendar API
1.1 캘린더 생성 API
- 경로:
POST /calendar
- 파라미터:
Long memberId
- 반환 타입:
ApiResponse<CalendarMissionsResponse>
- 설명: 사용자 ID를 기반으로 캘린더를 생성합니다.
1.2 캘린더 조회 API
- 경로:
GET /calendar
- 파라미터:
Long memberId
- 반환 타입:
ApiResponse<CalendarMissionsResponse>
- 설명: 사용자 ID를 기반으로 해당 캘린더 정보를 조회합니다.
1.3 캘린더 미션 성공 API
- 경로:
POST /calendar/mission/complete
- 파라미터:
Long memberId, Long missionId
- 반환 타입:
ApiResponse<CalendarMissionIdResponse>
- 설명: 사용자 ID와 미션 ID를 이용하여 캘린더 미션을 완료 처리합니다.
2. Friend API
2.1 친구 추가 API
- 경로:
POST /api/friend/create/{receiverId}/{senderId}
- 파라미터:
Long receiverId, Long senderId