Interface CommentApi
- All Known Subinterfaces:
DraftApi
- All Known Implementing Classes:
CommentApi.NotImplemented
,DraftApi.NotImplemented
public interface CommentApi
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic class
A default implementation which allows source compatibility when adding new methods to the interface. -
Method Summary
Modifier and TypeMethodDescriptiondelete
(DeleteCommentInput input) Deletes a published comment of a revision.get()
-
Method Details
-
get
- Throws:
RestApiException
-
delete
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
-