Comment

댓글/답글 작성

흔적에 댓글 또는 답글을 작성합니다. parentCommentId가 없으면 원댓글, 있으면 답글로 생성됩니다. 답글에는 다시 답글을 남길 수 없습니다(1-depth). 삭제된 댓글을 부모로 답글을 작성할 수 없습니다. 흔적이 모임 전용이면 모임원만 작성할 수 있습니다. Authorization: Bearer {accessToken} 헤더로 인증합니다.

post/api/opinions/{opinionId}/comments

Request

  • Base URL: https://api-dev.pallang.co.kr
  • URL: https://api-dev.pallang.co.kr/api/opinions/{opinionId}/comments
  • Auth: HTTP bearer

Path parameters

opinionIdinteger required

흔적 ID

Request body

parentCommentIdinteger nullable

답글로 남길 경우 원댓글 ID. 원댓글이면 null입니다.

contentstring required

Example request

{
  "parentCommentId": 3,
  "content": "저도 같은 생각이에요!"
}

Response

작성 성공

Changes

No recorded changes to this operation across all 1 revision of this API.