HomeAboutMeBlogGuest
© 2025 Sejin Cha. All rights reserved.
Built with Next.js, deployed on Vercel
🧚
[1기]최종 프로젝트 데브코스
/
🏀
[팀14] 슬램 - 우리 주변 농구장 예약
/
🧭
Domain 설계
/
[GET] /api/v1/follow/{userId}/followings

[GET] /api/v1/follow/{userId}/followings

✅
팔로잉 목록 조회

REQUEST

Header

Headers { Authorization: "Bearer {token}" }
 
PathVariable
Filed
Type
Description
비고
userId
Number
사용자 구별키
RequestParameter
Filed
Type
Description
비고
size
Number
요청한 데이터의 개수
lastId
Number
데이터의 마지막 인덱스 값
isFirst
Boolean
첫번째 페이지인지 아닌지
 

RESPONSE

Body
Field
Type
Description
비고
contents
Array
무한스크롤 내용
followId
Number
follow의 구별키
receiverId
Number
팔로우 당한 사용자의 구별키
profileImage
String
사용자 프로필 이미지
createdAt
String
팔로우 관계 최초 생성 시간
updatedAt
String
팔로우 관계 최근 수정 시간
lastId
Number
제공하는 데이터의 마지막 id
null = 끝
  • Body 예시
{ "contents": [ { "id": 1, "reciever": { "id": 7, "nickname": "Ann", "profileImage": "https//www.s3naver.com", } "createdAt": "2021-01-01T12:20:10", "updatedAt": "2021-01-01T12:20:10", }, { "id": 3, "reciever": { "id": 8, "nickname": "Hanna", "profileImage": "https//www.s3naver.com", } "createdAt": "2021-01-01T12:20:10", "updatedAt": "2021-01-01T12:20:10", }, ], "lastId": 3 }