[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 18:23:35 UTC 2017


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

Comment (by kadamwhite):

 Added `38131.4.diff`, which updates @adamsilverstein's `38131.2.diff` to
 support `?_fields[]=array&_fields[]=syntax` field lists, using preg_split
 on @TimothyBlynJacobs' recommendation. Over to @joehoyle for review.

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


More information about the wp-trac mailing list