[wp-trac] [WordPress Trac] #39965: REST API: not possible to request collection of posts across post types
WordPress Trac
noreply at wordpress.org
Sun Feb 26 16:38:50 UTC 2017
#39965: REST API: not possible to request collection of posts across post types
-------------------------+------------------------------
Reporter: iseulde | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: REST API | Version: 4.7
Severity: normal | Resolution:
Keywords: | Focuses:
-------------------------+------------------------------
Comment (by swissspidy):
There are separate controllers for every post type, which definitely has
its benefits. For queries across multiple post types, I would probably use
batch requests. See https://developer.wordpress.org/rest-api/requests
/#internal-requests.
For #38920 we could create a new endpoint that only returns the needed
data without additional overhead.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/39965#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list