댓글 수정

포트폴리오 페이지의 게시물에 있는 댓글을 수정하는 API입니다

METHOD

PUT

URL

/portfolios/:portfolioId/comments/:commentId
  • portfolioId: 해당 댓글이 작성된 (포트폴리오 페이지의) 게시물 고유 id

  • commentId: 수정할 댓글의 고유 id

REQUEST BODY

REQUEST BODY EXAMPLE

{
        "authorEmail": "example@gmail.com",
        "content": "example comment content"
}

RESPONSE

success

HTTP Status code: 200 OK

Response Body는 따로 없습니다.

fail

HTTP Status code: 400 Bad Request or 403 Forbidden

{
    "status": 400,
    "message": "잘못된 경로로 접근했습니다. "
}
{
    "status": 403,
    "message": "권한이 없습니다. "
}

REQUEST BODY

Last updated