API

Less than 1 minute...

Comment

Comment List

Get comment list for article

GET /comment

Parameters:

ParameterTypeDescription
pathstringArticle id for comment
pagenumberComment page
pageSizenumberComment list page size

Comment Count

Get comment count for article

GET /comment?type=count

Parameters:

ParameterTypeDescription
pathstringArticle id for comment

Recent Comment

Get recent comment

GET /comment?type=recent

Parameters:

ParameterTypeDescription
countnumbercomment count return

Submit comment

POST /comment

Parameters:

ParameterTypeDescription
commentstringcomment content
linkstringcommentator site
mailstringcommentator email
nickstringcommentator nick
pidstringcomment id which one replied
ridstringroot comment id which one ownerd
uastringcommentator's user agent
urlstringArticle id for comment
atstringcomment nick name which one replied

Reading statistics

Get reading statistics

Get the number of readings corresponding to an article or multiple articles.

GET /article

Parameters:

ParameterTypeDescription
pathstringArticle id for comment,multiple ids should be spliced with commas.

Update reading statistics

Update the reading count of an article.

POST /article

Parameters:

ParameterTypeDescription
pathstringArticle id for comment
TIPS: The comment area is only for demo. If you have any questions, please go to Github Discussion to ask.
Comments
Powered by Waline v2.6.1