API 명세 - KimGyuBek/Threadly GitHub Wiki

Threadly API 명세

Base URL: https://api.threadly.kr

API 목록

Method Endpoint 설명
POST /api/auth/login 로그인
POST /api/auth/logout 로그아웃
POST /api/auth/reissue 토큰 재발급
GET /api/auth/verify-email 이메일 인증
POST /api/auth/verify-password 비밀번호 재인증 (2FA)
POST /api/users 회원가입
GET /api/users/profile/{userId} 사용자 프로필 조회
GET /api/users/search 사용자 검색
GET /api/me/profile 내 프로필 조회
POST /api/me/profile 프로필 초기 설정
PATCH /api/me/profile 프로필 업데이트
PATCH /api/me/profile/privacy 계정 비공개 설정
POST /api/me/profile/image 프로필 이미지 업로드
GET /api/me/profile/check 닉네임 중복 체크
PATCH /api/me/account/password 비밀번호 변경
DELETE /api/me/account 계정 탈퇴
PATCH /api/me/account/deactivate 계정 비활성화
POST /api/follows 사용자 팔로우
PATCH /api/follows/{followId}/approve 팔로우 요청 수락
DELETE /api/follows/{followId} 팔로우 요청 거절
GET /api/follows/requests 팔로우 요청 목록 조회
GET /api/follows/followers 팔로워 목록 조회
GET /api/follows/followings 팔로잉 목록 조회
DELETE /api/follows/requests/{targetUserId} 팔로우 요청 취소
DELETE /api/follows/following/{followingUserId} 언팔로우
DELETE /api/follows/followers/{followerId} 팔로워 삭제
GET /api/follows/{userId}/stats 팔로우 통계 조회
GET /api/posts/{postId} 게시글 조회
GET /api/posts 게시글 목록 조회
POST /api/posts 게시글 생성
PATCH /api/posts/{postId} 게시글 수정
DELETE /api/posts/{postId} 게시글 삭제
POST /api/post-images 게시글 이미지 업로드
GET /api/posts/search 게시글 검색
GET /api/posts/{postId}/engagement 게시글 활동 요약 조회
GET /api/posts/{postId}/engagement/likes 게시글 좋아요 목록 조회
POST /api/posts/{postId}/likes 게시글 좋아요
DELETE /api/posts/{postId}/likes 게시글 좋아요 취소
GET /api/posts/{postId}/comments 게시글 댓글 목록 조회
POST /api/posts/{postId}/comments 게시글 댓글 작성
DELETE /api/posts/{postId}/comments/{commentId} 게시글 댓글 삭제
GET /api/posts/{postId}/comments/{commentId}/likes 댓글 좋아요 목록 조회
POST /api/posts/{postId}/comments/{commentId}/likes 댓글 좋아요
DELETE /api/posts/{postId}/comments/{commentId}/likes 댓글 좋아요 취소
GET /api/notifications 전체 알림 목록 조회
GET /api/notifications/unread 읽지 않은 알림 목록 조회
GET /api/notifications/{eventId} 알림 상세 조회
PATCH /api/notifications/{eventId}/read 알림 읽음 처리
PATCH /api/notifications/read-all 전체 알림 읽음 처리
DELETE /api/notifications/{eventId} 알림 삭제
DELETE /api/notifications 전체 알림 삭제
⚠️ **GitHub.com Fallback** ⚠️