Interface CommentApi
- 
- All Known Subinterfaces:
 DraftApi
- All Known Implementing Classes:
 CommentApi.NotImplemented,DraftApi.NotImplemented
public interface CommentApi 
- 
- 
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classCommentApi.NotImplementedA default implementation which allows source compatibility when adding new methods to the interface. 
- 
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CommentInfodelete(DeleteCommentInput input)Deletes a published comment of a revision.CommentInfoget() 
 - 
 
- 
- 
Method Detail
- 
get
CommentInfo get() throws RestApiException
- Throws:
 RestApiException
 
- 
delete
CommentInfo delete(DeleteCommentInput input) throws RestApiException
Deletes a published comment of a revision. For NoteDb, it deletes the comment by rewriting the commit history.Note instead of deleting the whole comment, this endpoint just replaces the comment's message.
- Returns:
 - the comment with its message updated.
 - Throws:
 RestApiException
 
 - 
 
 -