blog.post.comments.getTree

Returns the tree of comments to a blog post.

Parameters

  • post_id GET

    Blog post id.

  • parent_comment_id GET Optional

    Id of the comment which should be considered the tree root. If not specified then the entire comment tree is returned.

  • format GET Optional

    Sets response format. Available options: json (default), xml.

Example

https://demo1.webasyst.com/api.php/blog.post.comments.getTree?

Error codes

  • invalid_request

    Invalid formed request. Additional information about the error is available in error_description parameter.

  • access_denied

    Access to the specified API method for the current token is denied.

  • invalid_method

    Unknown API method.