Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

deviceId 헤더 적용, API 엔드포인트 변경, 목록 조회 API 페이지네이션 적용 #25

Merged
merged 17 commits into from
Jul 6, 2024

Conversation

seohyun0120
Copy link
Collaborator

@seohyun0120 seohyun0120 commented Jul 6, 2024

정책 변경

  • deviceId를 body parameter가 아닌 header로 요청하도록 변경
  • meme api endpoint 변경
    • kebab case로 변경 GET /api/meme/recommend-memes
  • user api endpoint 변경
    • deviceId parameter 제거
    • kebab case로 변경 GET /api/user/saved-memes, GET /api/user/recent-memes
  • 목록 조회 페이지네이션 적용
    • 나의 파밈 함 조회 (GET /api/user/saved-memes)
    • 키워드로 밈 검색 (GET /api/meme/search/:name)

개선

  • 스웨거 수정
    • 백오피스용 api는 전부 백오피스라고 설명 추가
    • 이상한 필드, 예시 들어간거 수정
    • 정책 변경에 해당하는 부분들 추가

버그

  • 밈 keywordIds에 키워드의 _id를 포함하고있는지 찾는 쿼리에서 $in 연산자 누락
  • 저장된 밈 목록을 찾는 쿼리에서 $in 연산자 누락

@seohyun0120 seohyun0120 self-assigned this Jul 6, 2024
@seohyun0120 seohyun0120 merged commit 55f1d21 into develop Jul 6, 2024
1 check passed
@seohyun0120 seohyun0120 deleted the feature/deviceid-to-header branch July 7, 2024 10:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant