Create a new comment
name | string the comment name |
string the comment email | |
link | string the comment link |
content required | string the comment content |
rid | string the comment rid |
ua | string the comment ua |
page_key required | string the comment page_key |
page_title | string the comment page_title |
site_name | string the site name of your content scope |
Edit a specific comment
id required | integer the comment ID you want to edit |
site_name | string the site name of your content scope |
content | string the comment content |
page_key | string the comment page_key |
nick | string the comment nick |
string the comment email | |
link | string the comment link |
rid | string the comment rid |
ua | string the comment ua |
ip | string the comment ip |
is_collapsed | boolean the comment is_collapsed |
is_pending | boolean the comment is_pending |
is_pinned | boolean the comment is_pinned |
Get a list of comments by some conditions
page_key required | string the comment page_key |
site_name | string the site name of your content scope |
limit | integer the limit for pagination |
offset | integer the offset for pagination |
flat_mode | boolean enable flat_mode |
sort_by | string Enum: "date_asc" "date_desc" "vote" sort by condition |
view_only_admin | boolean only show comments by admin |
search | string search keywords |
type | string Enum: "all" "mentions" "mine" "pending" "admin_all" "admin_pending" message center show type |
name | string the username |
string the user email |
Edit a specific page
id required | string the page ID you want to edit |
site_name | string the site name of your content scope |
key | string edit page key |
title | string edit page title |
admin_only | boolean edit page admin_only option |
Create a new user
name required | string the user name |
email required | string the user email |
password | string the user password |
link | string the user link |
is_admin required | boolean the user is an admin |
site_names | string the site names associated with the user |
receive_email required | boolean the user receive email |
badge_name | string the user badge name |
badge_color | string the user badge color (hex format) |
Edit a specific user
id required | string the user ID you want to edit |
name required | string the user name |
email required | string the user email |
password | string the user password |
link | string the user link |
is_admin required | boolean the user is an admin |
site_names | string the site names associated with the user |
receive_email required | boolean the user receive email |
badge_name | string the user badge name |
badge_color | string the user badge color (hex format) |
Vote for a specific comment or page
target_id required | integer target comment or page ID you want to vote for |
type required | string Enum: "comment_up" "comment_down" "page_up" "page_down" the type of vote target |
name | string the username |
string the user email | |
site_name | string the site name of your content scope |
Upload image from this endpoint
file required | string <binary> upload file in preparation for import |
name required | string the username |
email required | string the user email |
page_key required | string the page key |
page_title | string the page title |
site_name | string the site name of your content scope |
Mark specific notification as read for user
comment_id required | integer the comment id of the notify you want to mark as read |
notify_key required | string the key of the notify |
name | string the username |
string the user email | |
all_read | boolean the option if mark all user's notify as read |
site_name | string the site name of your content scope |
Get the statistics of various data analysed
type required | string Enum: "latest_comments" "latest_pages" "pv_most_pages" "comment_most_pages" "page_pv" "site_pv" "page_comment" "site_comment" "rand_comments" "rand_pages" the type of statistics |
page_keys | string multiple page keys separated by commas |
site_name | string the site name of your content scope |
limit | integer the amount of items you want |