IAuthCommentAPI

interface IAuthCommentAPI : IPublicCommentAPI, Authable

Authenticated API for getting and manipulating comments information.

Also provides access to public API

Functions

Link copied to clipboard
abstract suspend fun getCommentVotes(commentID: Long): Map<String, Liker>

Get a list of people who liked the comment

Link copied to clipboard
abstract suspend fun getEntryComments(entryID: Long, sorting: SortingType): List<Comment>

Get comments to an entry

Link copied to clipboard
abstract suspend fun getLevelComments(entryID: Long, sorting: SortingType): CommentsLevelLimited

Get comments of the record with thread level restriction

Link copied to clipboard
abstract suspend fun getThreadComments(entryID: Long, commentID: Long): List<Comment>

Get comments of the record with thread restriction

Link copied to clipboard
abstract suspend fun postSeenComments(entryID: Long, count: Long)

Send the number of comments seen

Properties

Link copied to clipboard
abstract val token: String