HomeAboutMeBlogGuest
© 2025 Sejin Cha. All rights reserved.
Built with Next.js, deployed on Vercel
♥️
2기 최종 프로젝트 팀별 공간
/
[팀 09] 오프와 에프
[팀 09] 오프와 에프
/
📝
API 명세서
/
📢
요청/응답 값
📢

요청/응답 값

FE 연결
FE 연결
HTTP verbs
GET
Path
/api/v1/users/{id}
기능
회원정보 조회(타인)
담당자
Kevin
도메인
완료
완료

GET /api/v1/users/{id}


id ⇒ 조회할 타 멤버의 member id

요청 값(헤더)


 

응답 값(200)

{ "id": Long!, "nickname": String!, "profileImage": String? // 회원가입 할 때는 넣지않고 나중에 edit "birth": String! // "1994-06-16" 형식 "sex": String("male" | "female")!, "createdAt": String! "score": Long!; "grade": String!; "counts" : { "course" : Long!, "comments": Long!, "bookmarks" : { "total" : Long!, "courseBookmarks" : Long!, "placeBookmarks" : Long! } } } ex) { "id": 1, "nickname": "kate", "profileImage": "https://amazon.s3.~~~~~~", "birth": "1994-06-16", "sex": "female", "createdAt": "1994-06-16" "score": 100; "grade": "SILVER"; "counts" : { "course" : 0, "comments": 0, "bookmarks" : { "total" : 0, "courseBookmarks" : 0, "placeBookmarks" : 0 } } }
 

응답 값(404) → 아이디가 없을때