Swagger 주소
http://localhost:5000/swagger-ui/index.html#/
OAUTH LOGIN
-
로그인
- 비회원, 카카오, 네이버 API를 이용한 OAUTH 인증
- endpoint: api/user/login/{loginType}
- return: accessToken
-
로그아웃
- 유저 로그아웃
- endpoint: api/user/logout
- return: nickname( or void)
MYPAGE
-
이모지 상점 접속
- Emoji TABLE 에서 이모지 조회 (UserBuyEmoji 테이블 조인을 하건 로직처리를 하건 미구매 상태 이모지만)
- endpoint: api/mypage/emoji/store
- return: List<Emoji>
-
이모지 상점에서 이모지 구매
- UserBuyEmoji 테이블에 튜플 삽입, user_tbl 의 point 차감
- endpoint: api/mypage/emoji/store/buy
- return: List<Emoji>
-
보유한 이모지 중 선택
- UserBuyEmoji 테이블에서 보유 이모지 조회함
- endpoint: api/mypage/emoji/choice
- return: List<Emoji>
-
운동기록 조회
- Record Table에서 자신의 운동 기록 조회
- endpoint: api/mypage/record
- return list<Record>
-
포인트 사용 이력 조회 (배수빈)
- point_history_tbl 에서 포인트 사용 이력 조회
- endpoint: api/mypage/history
- return list<PointHistory>
OPENVIDU
-
세션 초기화
- 미디어 연결을 위한 세션(영상 중개 목적) 생성
- endPoint: api/sessions
- return: sessionid
-
세션 접속
- 생성된 세션에 connection을 생성하여 연결
- endPoint: /api/sessions/{sessionId}/connections
- return: connection token