Six Apart Developer Center

Developer Center Home » XML-RPC » Pages API »

wp.editPage

Posted by Mark Paschal on May 29, 2007

Updates a page identified by the page ID in the request. Method returns true if successful, or a fault otherwise.

Notes: the struct content can contain the following standard keys:

  • title, for the title of the page;
  • description, for the body of the page;
  • permaLink, for the desired URL of the page;
  • dateCreated, to set the created-on date of the page.

In addition, TypePad’s implementation allows you to pass in values for one other key:

  • String mt_convert_breaks, the value for the convert_breaks field;

If specified, dateCreated should be in ISO.8601 format.

Parameters

  • String blogid
  • String pageid
  • String username
  • String password
  • struct content
  • boolean publish

Sample Request

Sample Response

Perl Code Sample

Post a comment

(If you haven't left a comment here before, you may need to be approved by the site owner before your comment will appear. Until then, it won't appear on the entry. Thanks for waiting.)

Related Categories

Six Apart
Makers of weblog software and services for individuals, organizations and businesses.
This website is powered by Movable Type.