Skip to content
alia edited this page Nov 26, 2020 · 54 revisions

📱소셜로그인📱

Method Route Info
POST /users/login/login-by-apple 애플 로그인 검증
POST /login/refresh 애플 리프레시
POST /users/google 구글 로그인 검증
PUT /users/social 추가 정보 입력

😛유저😛

Method Route Info
POST /users/signup 일반 회원가입
POST /users/signin 일반 로그인
POST /users/checkEmail 이메일 중복체크
POST /users/checkNickName 닉네임 중복체크
GET /users/profile 프로필 수정하기 전 정보, My서랍에서 내 정보
PUT /users/update 프로필 수정
DELETE /users/delete 회원탈퇴

📍메인📍

Method Route Info
GET /main/searchUser?user=#{user} 유저 검색
GET /main/searchPost?post=#{post} 글 내용 검색
GET /main/searchTopic?topic=#{topic} 글감 검색
GET /main/info 메인 유저 정보
GET /cal/day 달별 매일 글작성 현황
GET /cal/week 주별 달성률
GET /main/diffProfile/{nickName} 다른 유저 프로필
GET /main/diffFeed/{nickName}(?filter="popular") 다른 유저 피드 (최신순 or 인기순)

✌️My 서랍✌️

Method Route Info
GET /main/searchMyTopic?topic=#{topic} My 서랍 내 글감 검색
GET /main/searchScrapTopic?topic=#{topic} My 서랍 담은 글감 검색
GET /posts/myPost(?filter="popular") 내가 작성한 글 목록(최신순 or 인기순)
GET /posts/likes(?filter="popular") 내가 좋아요 한 글 목록(최신순 or 인기순)
GET /posts/scrap(?filter="popular") 내가 담은 글 목록(최신순 or 인기순)

🌌게시글🌌

Method Route Info
GET /posts/popularity 명예의 전당
POST /posts/count 글감과 사용된 횟수(얘가 어디에 쓰이길래 만들어놨을까,,)
GET /posts/all?topic="#{topic}"(&filter="popular") 글감별 전체공개된 모든 글 목록(최신순 or 인기순)
POST /posts/write 글 작성
PUT /posts/update/{postIdx} 글 수정
PUT /posts/open/{postIdx} 글 공개여부
DELETE /posts/delete/{postIdx} 글 삭제
POST /posts/likes/{postIdx} 좋아요
DELETE /posts/unlikes/{postIdx} 좋아요 취소
POST /posts/scrap/{postIdx} 스크랩
DELETE /posts/unscrap/{postIdx} 스크랩 취소
GET /posts/detail/{postIdx} 내가 쓴 게시글 자세히 보기
GET /posts/detailDiff/{postIdx} 다른 유저가 쓴 게시글 자세히 보기

⚡글감⚡

Method Route Info
GET /topic/today 오늘의 랜덤 글감 가져오기
GET /topic/usedToday 오늘 글감 중 내가 쓴 글감
GET /topic/lastTopic 지난 글감들(최근 10일)
POST /topic/written 내가 쓴 글감인지 확인(블라인드 처리용)

Clone this wiki locally