작업 - 댓글 수정 API 구현
Closed this issue · 0 comments
shkilo commented
Task - Comment PUT API
URL
PUT /api/task/:taskId/comment/:commentId
Request
{
'content': '코멘트 수정'
}
Response
{
'message': 'ok'
}
API 명세 링크
https://github.com/boostcamp-2020/Project04-C-Whale/wiki/Task-API
error code
상태 코드 | 오류 메시지 | 설명 |
---|---|---|
400 | Bad Request | 요청이 잘못된 경우 발생합니다. |
401 | Unauthorized | 유효한 토큰을 header에 포함하지 않은 경우 발생합니다. |
404 | Not Found | 해당 id의 작업이나 댓글이 존재하지 않는 경우 발생합니다. |
500 | Internal Server Error | 서버에 문제가 생긴 경우 발생합니다. |