[wp-trac] [WordPress Trac] #56546: Permit queries by ID in /search REST endpoint

WordPress Trac noreply at wordpress.org
Sun Sep 11 21:10:47 UTC 2022


#56546: Permit queries by ID in /search REST endpoint
---------------------------------------------+-----------------------------
 Reporter:  kadamwhite                       |       Owner:  kadamwhite
     Type:  enhancement                      |      Status:  closed
 Priority:  normal                           |   Milestone:  Awaiting
                                             |  Review
Component:  REST API                         |     Version:  trunk
 Severity:  normal                           |  Resolution:  fixed
 Keywords:  has-patch commit has-unit-tests  |     Focuses:  rest-api
---------------------------------------------+-----------------------------
Changes (by TimothyBlynJacobs):

 * status:  accepted => closed
 * resolution:   => fixed


Comment:

 In [changeset:"54123" 54123]:
 {{{
 #!CommitTicketReference repository="" revision="54123"
 REST API: Add support for searching resources by id.

 This brings support for the `include` and `exclude` collection parameters
 to the Search Controller. This can be used to find an item by id when it's
 subtype is unknown.

 Props kadamwhite.
 Fixes #56546.
 }}}

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


More information about the wp-trac mailing list