PUT/boards/{boardId}/posts/{postId}/comments/{commentId}
댓글 수정시 작성자에게 알림이 발송되지 않습니다.
멘션 기능을 지원하지 않습니다.
스티커가 존재하는 경우 수정이 불가능합니다.
OAuth 2.0 인증.
자세한 인증 방식은 인가·인증를 참고한다.
board
| Parameter | Type | Description |
|---|---|---|
| boardId | integer | 게시판 ID required example : 100 format : int64 |
| postId | integer | 게시글 ID required example : 1 format : int64 |
| commentId | integer | 댓글 ID required example : 1 format : int64 |
| Header | type | Description |
|---|---|---|
| Authorization | string | Bearer {token} required |
| Property | Type | Description |
|---|---|---|
| content | string | 내용 required minLength : 1 maxLength : 5000 |
example
1{2 "content": "Example content"3}OK
| Property | Type | Description |
|---|---|---|
| boardId | integer | 게시판 번호 required format : int64 readOnly : true |
| postId | integer | 게시글 번호 required format : int64 readOnly : true |
| commentId | integer | 댓글 번호 required format : int64 readOnly : true |
| content | string | 내용 required |
| createdTime | string | 생성 시간
required format : date-time readOnly : true |
| modifiedTime | string | 수정 시간
format : date-time readOnly : true |
| userId | string | 작성자 ID readOnly : true nullable : true |
| userName | string | 작성자 이름 required readOnly : true |
| hasReply | boolean | 답글 존재 여부 default : false readOnly : true |
| hasAttachment | boolean | 첨부파일 존재 여부 default : false readOnly : true |
| isDeleted | boolean | 답글이 존재하면서 삭제된 경우 default : false readOnly : true |
example
1{2 "boardId": 100,3 "postId": 1,4 "commentId": 1,5 "content": "Example content",6 "createdTime": "2022-10-28T17:26:35+09:00",7 "modifiedTime": "2022-10-28T17:26:35+09:00",8 "userId": "userf7da-f82c-4284-13e7-030f3b4c756x",9 "userName": "Susan Nielsen",10 "hasReply": false,11 "hasAttachment": false,12 "isDeleted": false13}