[wp-trac] [WordPress Trac] #44321: REST API: Expose revision count and last revision ID on Post response

WordPress Trac noreply at wordpress.org
Thu Jun 7 13:48:12 UTC 2018


#44321: REST API: Expose revision count and last revision ID on Post response
-------------------------------------------------+-------------------------
 Reporter:  danielbachhuber                      |       Owner:  (none)
     Type:  enhancement                          |      Status:  new
 Priority:  normal                               |   Milestone:  4.9.8
Component:  REST API                             |     Version:
 Severity:  normal                               |  Resolution:
 Keywords:  needs-patch dev-feedback needs-      |     Focuses:
  unit-tests                                     |
-------------------------------------------------+-------------------------
Changes (by kadamwhite):

 * Attachment "44321.1.diff" added.

 Add a count property to the version-history link specifying the number of
 available revisions, and a _link using the "predecessor" relation to
 specify the most recent revision.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/44321>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list