API Methods: forums.editPost



Description

Edits or creates a forum post


Authentication

This method requires authentication with 'write' permission.

Required parameters

  • forum_id :
    the id number of the forum to which this post belongs. The list of forum ids is available from the forums.getList

Optional parameters

  • thread_id :
    the id number of the topic thread. If this is included, it will add this post to the given thread. If this is not included, it starts a new forum thread.
  • post_id :
    the id number of the post. If this is included, then the post is edited rather than creating a new one. The list of post ids is available from the forums.getPosts
  • subject :
    the subject of the post
  • body :
    the body of the post

Example response

<?xml version="1.0"?>
<response status="ok" time="Mon, 21 Apr 2008 16:02:35 -0500">
    <forum_posts count="1">
        <forum_post>
            <post_id>11</post_id>
        </forum_post>
    </forum_posts>
</response>