[wp-trac] [WordPress Trac] #42094: REST API: extend _fields parameter to selectively include nested fields in response JSON
WordPress Trac
noreply at wordpress.org
Wed Oct 4 19:16:54 UTC 2017
#42094: REST API: extend _fields parameter to selectively include nested fields in
response JSON
-------------------------+-----------------------------
Reporter: kadamwhite | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Future Release
Component: REST API | Version: trunk
Severity: normal | Resolution:
Keywords: | Focuses:
-------------------------+-----------------------------
Comment (by kadamwhite):
Added a patch with a basic unit test exloring the dot-nested syntax
proposed above. I propose that the dot-separated solution is preferable to
JMESPath for core usage, as it will be a straightforward enhancement over
the initial syntax from #38131.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/42094#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list