HomeAboutMeBlogGuest
© 2025 Sejin Cha. All rights reserved.
Built with Next.js, deployed on Vercel
♥️
2기 최종 프로젝트 팀별 공간
/
👩‍👩‍👦‍👦
[팀01] 김팽박이
/
🔴
API 명세
/
💰
마이페이지, 프로필, 프로필 수정 API
💰

마이페이지, 프로필, 프로필 수정 API

마이페이지 + 프로필 GET /api/v1/members/{member_id}

request

{ "id": "1" }

response

USER MODEL GET /api/v1/memebers/{member_id} { "id": "1" "email": "test@test.com" "profileImageUrl": "test.s3.com" "nickname": "test" "field": "frontend" "career": "Junior" "MBTI": "ABCD" "githubUrl": "test.github.com" "blogUrl": "test.blog.com" } ------------------------------------ GET /api/v1/study-groups/my-page studys 담당인 LA 님controller 에서 처리 { "studys":[ ] } ------------------------------------ get /api/v1/members/{member_id}/feeds?page=3&amount=10 feeds담당인 셀린 님controller 에서 처리 { "feeds":[ ] } --------------------------------- 닉네임 이메일 분야 경력 github blog studys:[ study: 직무, 제목, 선호 MBTI, 지역, 기간(시작일, 종료일), 인원, 스터디장 여부 ] feeds: [ feed: 추후 작성 ]
  • 마이 페이지에 필요한 요청 세가지
    • User GET
    • Study List GET
    • Feed List GET
    • ex) get /api/v1/members/{member_id}/feeds?page=3&amount=10

프로필 수정 PATCH /api/v1/members/{member_id}

request

{ "nickname": "other" "field": "other" "career": "JUNIOR" "MBTI": "DCBA" "githubUrl": "other.github.com" "blogUrl": "other.blog.com" }

response

 
CHANGED USER MODEL { "id": 1 "email": "test@test.com" "profileImageUrl": "test.s3.com" "nickname": "test" "field": "FRONTEND" "career": "JUNIOR" "MBTI": "INTP" "githubUrl": "test.github.com" "blogUrl": "test.blog.com" }