HomeAboutMeBlogGuest
© 2025 Sejin Cha. All rights reserved.
Built with Next.js, deployed on Vercel

기능
일년치 게시글 점수 조회
도메인
POST
응답 코드
200
HTTP method
GET
담당자
진행상황
완료
완료
완료
Path
/posts/score?userId={userId}
메모
- 메인페이지 그래프 (카테고리 미 선택시) 타회원 그래프 조회 가능 (userId) 카테고리 선택하면 categoryId로 필터링 1. category id 2. post의 select date 순으로 정렬 🔆응답에서 selectedDate, score → x, y로 수정

Request

Parameters = { "userId": Number } Body = null
 

Response

[ "category": { "categoryId": number, "categoryName": String, "colorCode": String, "posts": [ { "x": LocalDate(yyyy-MM-dd), // selectedDate "y": number // score }, ... ] }, ... ]
→ List<CategoryDto> → CategoryDto 안에 id, name, color, List<PostDto>