Skip to content

Conversation

@jj0526
Copy link
Collaborator

@jj0526 jj0526 commented Aug 5, 2025

✨ 관련 이슈

🔎 작업 내용

  • 북마크 단일 조회 기능 추가
  • 북마크 필터링 기능에서 내림차순 정렬이 적용되지 않던 문제 수정
  • 북마크 필터링 반환값에 알림 추가(없는 경우는 null)

📷 이미지 첨부

  • 해당하는 북마크가 없는 경우
image
  • 단일 조회 성공
image
  • 다른 유저의 북마크를 조회할 경우
image
  • 북마크 필터링 page = 0, size = 4
{
    "code": 200,
    "message": "북마크 단일 조회에 성공했습니다",
    "data": {
        "content": [
            {
                "id": 22,
                "url": "https://www.youtube.com/watch?v=abc123",
                "title": "Spring Boot 강의",
                "memo": "백엔드 참고 영상입니다.",
                "platform": "NAVER_BLOG",
                "faviconUrl": "https://www.youtube.com/s2/favicons?domain=youtube.webp",
                "categoryTagInfos": [
                    {
                        "categoryId": 1,
                        "categoryName": "개발 참고",
                        "tags": [
                            {
                                "tagId": 1,
                                "tagName": "검색엔진"
                            },
                            {
                                "tagId": 2,
                                "tagName": "예제 페이지"
                            }
                        ]
                    }
                ],
                "file": {
                    "fileId": 11,
                    "fileName": "springboot_lecture.webp",
                    "fileUrl": "https://example.com/files/springboot_lecture.webp",
                    "createdAt": "2025-08-05T12:40:15.179252",
                    "updatedAt": "2025-08-05T12:40:15.179252"
                },
                "notificationResponse": null,
                "createdAt": "2025-08-05T12:40:15.114244",
                "updatedAt": "2025-08-05T12:40:15.114244"
            },
            {
                "id": 21,
                "url": "https://www.youtube.com/watch?v=abc123",
                "title": "Spring Boot 강의",
                "memo": "백엔드 참고 영상입니다.",
                "platform": "NAVER_BLOG",
                "faviconUrl": "https://www.youtube.com/s2/favicons?domain=youtube.webp",
                "categoryTagInfos": [
                    {
                        "categoryId": 1,
                        "categoryName": "개발 참고",
                        "tags": [
                            {
                                "tagId": 1,
                                "tagName": "검색엔진"
                            },
                            {
                                "tagId": 2,
                                "tagName": "예제 페이지"
                            }
                        ]
                    }
                ],
                "file": {
                    "fileId": 10,
                    "fileName": "springboot_lecture.webp",
                    "fileUrl": "https://example.com/files/springboot_lecture.webp",
                    "createdAt": "2025-08-05T12:15:44.621801",
                    "updatedAt": "2025-08-05T12:15:44.621801"
                },
                "notificationResponse": null,
                "createdAt": "2025-08-05T12:15:44.543043",
                "updatedAt": "2025-08-05T12:15:44.543043"
            },
            {
                "id": 20,
                "url": "https://www.youtube.com/watch?v=abc123",
                "title": "Spring Boot 강의",
                "memo": "백엔드 참고 영상입니다.",
                "platform": "NAVER_BLOG",
                "faviconUrl": "https://www.youtube.com/s2/favicons?domain=youtube.webp",
                "categoryTagInfos": [
                    {
                        "categoryId": 1,
                        "categoryName": "개발 참고",
                        "tags": [
                            {
                                "tagId": 1,
                                "tagName": "검색엔진"
                            },
                            {
                                "tagId": 2,
                                "tagName": "예제 페이지"
                            }
                        ]
                    }
                ],
                "file": {
                    "fileId": 9,
                    "fileName": "springboot_lecture.webp",
                    "fileUrl": "https://example.com/files/springboot_lecture.webp",
                    "createdAt": "2025-08-04T18:24:42.536827",
                    "updatedAt": "2025-08-04T18:24:42.536827"
                },
                "notificationResponse": null,
                "createdAt": "2025-08-04T18:24:42.52283",
                "updatedAt": "2025-08-04T18:24:42.52283"
            },
            {
                "id": 17,
                "url": "https://www.youtube.com/watch?v=abc123",
                "title": "Spring Boot 강의",
                "memo": "백엔드 참고 영상입니다.",
                "platform": "YOUTUBE",
                "faviconUrl": "https://www.youtube.com/s2/favicons?domain=youtube.webp",
                "categoryTagInfos": [
                    {
                        "categoryId": 1,
                        "categoryName": "개발 참고",
                        "tags": [
                            {
                                "tagId": 1,
                                "tagName": "검색엔진"
                            },
                            {
                                "tagId": 2,
                                "tagName": "예제 페이지"
                            }
                        ]
                    }
                ],
                "file": {
                    "fileId": 8,
                    "fileName": "springboot_lecture.webp",
                    "fileUrl": "https://example.com/files/springboot_lecture.webp",
                    "createdAt": "2025-08-04T18:06:43.262441",
                    "updatedAt": "2025-08-04T18:06:43.262441"
                },
                "notificationResponse": null,
                "createdAt": "2025-08-04T18:06:43.250437",
                "updatedAt": "2025-08-04T18:06:43.250437"
            }
        ],
        "pageable": {
            "pageNumber": 0,
            "pageSize": 4,
            "sort": {
                "empty": false,
                "sorted": true,
                "unsorted": false
            },
            "offset": 0,
            "paged": true,
            "unpaged": false
        },
        "size": 4,
        "number": 0,
        "sort": {
            "empty": false,
            "sorted": true,
            "unsorted": false
        },
        "first": true,
        "last": false,
        "numberOfElements": 4,
        "empty": false
    }
}


✅ Check List

  • 라벨 지정
  • 리뷰어 지정
  • 담당자 지정
  • 테스트 완료
  • 이슈 제목 컨벤션 준수
  • PR 제목 및 설명 작성
  • 커밋 메시지 컨벤션 준수

@jj0526 jj0526 self-assigned this Aug 5, 2025
@jj0526 jj0526 added the Feat New feature or request label Aug 5, 2025
@jj0526 jj0526 linked an issue Aug 5, 2025 that may be closed by this pull request
1 task
Copy link
Collaborator

@seola12e seola12e left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

수고하셨습니다!

Copy link
Collaborator

@katejhee katejhee left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

수고하셨습니다

Copy link
Collaborator

@choes0101 choes0101 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

수고하셨습니다!

@jj0526 jj0526 merged commit 3cfe539 into dev Aug 5, 2025
2 checks passed
katejhee added a commit that referenced this pull request Aug 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Feat New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Feat #85 북마크 단일 조회 기능 추가

5 participants