[wp-trac] [WordPress Trac] #38131: REST API: Provide interface to include or exclude specific fields from response JSON

WordPress Trac noreply at wordpress.org
Wed Oct 4 19:18:57 UTC 2017


#38131: REST API: Provide interface to include or exclude specific fields from
response JSON
---------------------------------------------+--------------------------
 Reporter:  kadamwhite                       |       Owner:  kadamwhite
     Type:  enhancement                      |      Status:  closed
 Priority:  normal                           |   Milestone:  4.9
Component:  REST API                         |     Version:  4.4
 Severity:  normal                           |  Resolution:  fixed
 Keywords:  commit has-unit-tests has-patch  |     Focuses:  performance
---------------------------------------------+--------------------------

Comment (by kadamwhite):

 @adamsilverstein Thanks for thinking of that!

 I've broken out a new ticket #42094 to cover the field nesting; I realized
 that nesting is also now supported in @svrooij's
 [https://wordpress.org/plugins/rest-api-filter-fields/ rest-api-filter-
 fields plugin], as well as by the JMESPath plugin (albeit with a divergent
 syntax).

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


More information about the wp-trac mailing list