[wp-trac] [WordPress Trac] #49538: Can't get a subset of `_embedded` using `_fields`
WordPress Trac
noreply at wordpress.org
Thu Feb 27 21:26:38 UTC 2020
#49538: Can't get a subset of `_embedded` using `_fields`
-------------------------+-----------------------------
Reporter: iandunn | Owner: (none)
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: REST API | Version:
Severity: normal | Keywords:
Focuses: performance |
-------------------------+-----------------------------
I'd expect to be able to limit which values get returned in embedded
fields, the same way that I can with standard fields. e.g.,
https://wordpress.org/news/wp-
json/wp/v2/posts/8384?_fields=slug,_embedded.author.name&_embed
That would make the response faster and smaller.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/49538>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list