v21

latestSwagger 2.0MITraw.githubusercontent.com2026-08-015466193.3 KB
Comment

Get Comment List

Get a list of comments by some conditions

get/comments

Query parameters

emailstring

The user email

flat_modeboolean

Enable flat_mode

limitinteger

The limit for pagination

namestring

The username

offsetinteger

The offset for pagination

page_keystring required

The comment page_key

scope'page' | 'user' | 'site'

The scope of comments

searchstring

Search keywords

site_namestring

The site name of your content scope

sort_by'date_asc' | 'date_desc' | 'vote'

Sort by condition

type'all' | 'mentions' | 'mine' | 'pending'

Message center show type

view_only_adminboolean

Only show comments by admin

Response

OK

countinteger required
roots_countinteger required