-
Returns {
createComment(teamName, postNumber, createCommentBody, page?, perPage?, options?) => Promise<((axios?, basePath?) => AxiosPromise<Comment>)>;
deleteComment(teamName, commentId, options?) => Promise<((axios?, basePath?) => AxiosPromise<void>)>;
getComment(teamName, commentId, include?, options?) => Promise<((axios?, basePath?) => AxiosPromise<Comment>)>;
getComments(teamName, page?, perPage?, options?) => Promise<((axios?, basePath?) => AxiosPromise<PaginatedComments>)>;
getPostComments(teamName, postNumber, page?, perPage?, options?) => Promise<((axios?, basePath?) => AxiosPromise<PaginatedComments>)>;
updateComment(teamName, commentId, updateCommentBody, options?) => Promise<((axios?, basePath?) => AxiosPromise<Comment>)>;
}
-
createComment:function
-
Parameters
-
teamName: string
-
postNumber: number
-
-
Optional page: number
-
Optional perPage: number
-
Optional options: any
Returns Promise<((axios?, basePath?) => AxiosPromise<Comment>)>
-
deleteComment:function
-
Parameters
-
teamName: string
-
commentId: number
-
Optional options: any
Returns Promise<((axios?, basePath?) => AxiosPromise<void>)>
-
getComment:function
-
Parameters
-
teamName: string
-
commentId: number
-
Optional include: "stargazers"
-
Optional options: any
Returns Promise<((axios?, basePath?) => AxiosPromise<Comment>)>
-
getComments:function
-
Parameters
-
teamName: string
-
Optional page: number
-
Optional perPage: number
-
Optional options: any
Returns Promise<((axios?, basePath?) => AxiosPromise<PaginatedComments>)>
-
getPostComments:function
-
Parameters
-
teamName: string
-
postNumber: number
-
Optional page: number
-
Optional perPage: number
-
Optional options: any
Returns Promise<((axios?, basePath?) => AxiosPromise<PaginatedComments>)>
-
updateComment:function
-
Parameters
-
teamName: string
-
commentId: number
-
-
Optional options: any
Returns Promise<((axios?, basePath?) => AxiosPromise<Comment>)>
CommentApi - functional programming interface