[wp-trac] [WordPress Trac] #43316: REST API: Support autosaves

WordPress Trac noreply at wordpress.org
Wed Feb 14 15:51:06 UTC 2018


#43316: REST API: Support autosaves
-------------------------+-----------------------
 Reporter:  kraftbj      |       Owner:
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  5.0
Component:  REST API     |     Version:
 Severity:  normal       |  Resolution:
 Keywords:               |     Focuses:  rest-api
-------------------------+-----------------------

Comment (by adamsilverstein):

 Please note that I explored the alternative of creating an Autosave REST
 controller (by extending the revisions controller) in
 https://github.com/WordPress/gutenberg/pull/4156. While it may be worth
 adding, I'm not sure its the best approach to use in the editor for
 autosaves.

 The current approach uses the `heartbeat api`, which technically uses
 admin-ajax. Heartbeat is a proven/established API and offers some possible
 advantages over a REST API endpoint some of which are mentioned here:
 https://github.com/WordPress/gutenberg/pull/4218#issuecomment-364186696

--
Ticket URL: <https://core.trac.wordpress.org/ticket/43316#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list