HomeAboutMeBlogGuest
© 2025 Sejin Cha. All rights reserved.
Built with Next.js, deployed on Vercel
♥️
2기 최종 프로젝트 팀별 공간
/
🌳
[팀 05] Forest
/
🪐
BE WorkSpace
/
🗯️
API 명세
/
✅
/api/v1/ridingposts/{postid}/comments
✅

/api/v1/ridingposts/{postid}/comments

HTTP 메서드
POST
contents-type
application-json
비고
라이딩 모집 글에 댓글 작성
연관된 페이지
3. 라이딩 디테일 페이지
속성
⏳ 유저 스토리
[ Description ]
  • 라이딩 모집 글에 댓글 생성
[ request ]
  • Header
    • Authorization : string
      • jwt 토큰값
  • Request Body
    • contents : string
      • 댓글 내용
    • parentCommentId: number
      • 부모 댓글 id
[ Responses ]
  • 200 OK
    •  id : 생성된 댓글 아이디
  • 400 Bad Request (댓글 내용이 부적절한 경우)
    • message : string
  • 401 Unauthorized (jwt 토큰을 이용한 인증이 실패할 경우)
    • message : string
  • 404
    • message : string