[wp-trac] [WordPress Trac] #21397: Expose post revisions on the XML-RPC Endpoint
WordPress Trac
wp-trac at lists.automattic.com
Fri Jul 27 15:58:13 UTC 2012
#21397: Expose post revisions on the XML-RPC Endpoint
--------------------------+------------------
Reporter: daniloercoli | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: 3.5
Component: XML-RPC | Version:
Severity: normal | Resolution:
Keywords: mobile |
--------------------------+------------------
Comment (by markoheijnen):
That was my first though (but in another way) also but after rethinking it
and a talk on IRC with daniloercoli I do believe this should have their
own methods.
Revisions aren't obvious a post type and their implementation can change
and we get methods like:
- wp.getRevision ( blog_id, username, password, revision_id )
- wp.getRevisions ( blog_id, username, password, post_id, filter )
- wp.newRevision ( blog_id, username, password, post_id, constent_struct )
- wp.restoreRevision ( blog_id, username, password, post_id, revision_id )
The addon for wp.getPost & wp.getPosts is helpful but revision_count
should be a array with revision ids.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/21397#comment:5>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list