English
GET API_BASE/comments?post_id=:post_id&offset=:offset&limit=:limit
post_id
offset
limit
{ "data": { "pagination": { "total": 0, "offset": 0, "next_offset": 20, "limit": 20 }, "items": [CommentObject, ...] }, "ts": 1723923923 }
POST API_BASE/comments
{ "post_id": 1, "quote_comment_id": 0, "content": "..." }
{ "data": CommentObject, "ts": 1723923923 }
PUT API_BASE/comments/:comment_id/approve
Only the post owner can approve or reject comments.
{ "data": null, "ts": 1723923923 }
PUT API_BASE/comments/:comment_id/reject
PUT API_BASE/comments/:comment_id/spam
DELETE API_BASE/comments/:comment_id
Authors and post owners can delete comments.
Comment API โ
List Comments By Post โ
Parameters โ
post_idoffsetlimitResponse โ
Create Comment โ
Authorization Required โ
Request Body โ
Response โ
Approve Comment โ
Authorization Required โ
Only the post owner can approve or reject comments.
Response โ
Reject Comment โ
Authorization Required โ
Response โ
Mark Comment as Spam โ
Authorization Required โ
Response โ
Delete Comment โ
Authorization Required โ
Authors and post owners can delete comments.
Response โ