<aside>
💡 사이트 base url : https://api-v1.oneline.course/
</aside>
Auth (new)
- 프론트에서 아이디, 비밀번호를 입력한후 버튼을 눌러 POST 로 함께 인증을 요청!
- 백에서 인증 로직 수행 후, DB 저장 후, 다시 reponse 로 statusCode, userID, expires_in (토큰만료기간)
Lecture
Users
comments
-
댓글 등록
- POST /comments
- body에 {lectureId} 넣어서 주고받기
- /comments ← 보연 제안
-
댓글 수정
- PATCH /comments/{commentId}
- /comments/{commentId} ←보연 제안
-
댓글 삭제
- DELETE /comments/{commentId}
- /comments/{commentId} ←보연 제안
-
댓글 전체 삭제