Skip to content

CommentEndpoints

reference
1 min readUpdated

Kind: Class

Source: atloria-monorepo/packages/api-client/src/endpoints/comments.ts

Comment endpoints

Methods

MethodSignatureReturns
listlist(documentId: string, params: Omit<CommentListParams, 'documentId'>)Promise<CommentWithUser[]>
getget(commentId: string)Promise<CommentWithUser>
createcreate(documentId: string, dto: CreateCommentDto)Promise<CommentWithUser>
updateupdate(commentId: string, dto: UpdateCommentDto)Promise<CommentWithUser>
deletedelete(commentId: string)Promise<void>
resolveresolve(commentId: string)Promise<CommentWithUser>
unresolveunresolve(commentId: string)Promise<CommentWithUser>
replyreply(parentCommentId: string, dto: Omit<CreateCommentDto, 'parentCommentId'>)Promise<CommentWithUser>
getRepliesgetReplies(parentCommentId: string)Promise<CommentWithUser[]>

Was this page helpful?

Download as PDF