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로 필터링

Request

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

Response

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