Module: resources
Method: comment-to-trash
Moves single comment to trash
Parameters:
- comment_id - comment ID (mandatory)
Method: comment-from-trash
Restores single comment from trash
Parameters:
- comment_id - comment ID (mandatory)
Method: remove-comment
Deletes single comment (skipping trash)
Parameters:
- comment_id - comment ID (mandatory)
Method: comment-set-best
Marks single comment as «best»
Parameters:
- comment_id - comment ID (mandatory)
Method: vote-for-comment
Casts vote for single comment
Parameters:
- comment_id - comment ID (mandatory)
Method: comment
Retrieves all information related to single comment
Parameters:
- comment_id - comment ID (mandatory)
Method: comments
Lists comments with optional filtering by response or user IDs, paginated
Parameters:
- comment_id - comment ID (optional)
- user_id - user account ID (optional)
- page - page number (optional, first page if not specified)
Method: add-comment
Adds new comment to single response
Parameters:
- response_id - response ID (mandatory)
- content - comment body (mandatory)
- vote - vote for comment created (mandatory, accepted values: -1, 0, 1)
Method: edit-comment
Alters single comment
Parameters:
- comment_id - comment ID (mandatory)
- response_id - response ID (mandatory)
- content - new body for comment (mandatory)