[wp-trac] [WordPress Trac] #34207: Leverage the REST API structure for the oEmbed endpoint

WordPress Trac noreply at wordpress.org
Thu Oct 8 06:35:32 UTC 2015


#34207: Leverage the REST API structure for the oEmbed endpoint
-------------------------+-----------------------------
 Reporter:  swissspidy   |      Owner:
     Type:  enhancement  |     Status:  new
 Priority:  normal       |  Milestone:  Awaiting Review
Component:  Embeds       |    Version:
 Severity:  normal       |   Keywords:  needs-patch
  Focuses:               |
-------------------------+-----------------------------
 After #32522 and #33982 we can now leverage the powerful REST API for the
 oEmbed API endpoint.

 Luckily, the oEmbed feature plugin has supported the REST API from the
 start. This makes updating `WP_oEmbed_Controller` to use the REST API very
 easy.

 Benefits from doing this:

 * Synergies: Robust API routing instead of doing it on our own.
 * Argument sanitization out of the box.
 * Easy JSON schema support for devs

--
Ticket URL: <https://core.trac.wordpress.org/ticket/34207>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list